Skip to content

Commit

Permalink
Workflows: bump ruby versions
Browse files Browse the repository at this point in the history
* actions/setup-ruby is now deprecated. Use ruby/setup-ruby instead.
* Don't test ruby 2.6 anymore
* Add tests for ruby 3.3
  • Loading branch information
dclaisse committed Mar 25, 2024
1 parent e3d287e commit 099596b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install dependencies
run: |
gem install bundler
gem install bundler -v 2.4.22
bundler install
- name: Check code
run: bundle exec rubocop
Expand All @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2']
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']

steps:
- uses: actions/checkout@v2
Expand All @@ -41,7 +41,7 @@ jobs:
bundler-cache: true
- name: Install dependencies
run: |
gem install bundler
gem install bundler -v 2.4.22
bundler install
- name: Run tests
run: bundle exec rspec
Expand All @@ -53,12 +53,13 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Install dependencies
run: |
gem install bundler
gem install bundler -v 2.4.22
bundler install
- name: Build
run: gem build *.gemspec
Expand Down

0 comments on commit 099596b

Please sign in to comment.