Skip to content

Commit

Permalink
Test against latest ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
miry committed Nov 28, 2024
1 parent 3d395bd commit a0afb57
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 25 deletions.
46 changes: 22 additions & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,46 @@
name: Main

on:
- push
- pull_request
- push
- pull_request

jobs:
ci:
strategy:
fail-fast: false
matrix:
ruby:
- '2.7.0'
- '3.0'
- '3.1'
- '3.2'
- head
- truffleruby-head
- "2.7.0"
- "3.2"
- "3.3"
- head
- truffleruby-head
name: CI
runs-on: ubuntu-latest
env:
CI: true
RUBYOPT: "--enable=frozen-string-literal --yjit"
# TESTOPTS: --verbose
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Test
run: bundle exec rake test
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Test
run: bundle exec rake test

check:
name: Check
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2'
- name: Check
run: |
bundle exec rake stree:check
bundle exec rubocop
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Check
run: |
bundle exec rake stree:check
bundle exec rubocop
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0
3.3.6

0 comments on commit a0afb57

Please sign in to comment.