From 099596b044ee650d1b1f29508554b45e05356afc Mon Sep 17 00:00:00 2001 From: Damien Claisse Date: Mon, 25 Mar 2024 11:59:59 +0000 Subject: [PATCH] Workflows: bump ruby versions * actions/setup-ruby is now deprecated. Use ruby/setup-ruby instead. * Don't test ruby 2.6 anymore * Add tests for ruby 3.3 --- .github/workflows/ruby.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 5f840e5..afba706 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -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 @@ -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 @@ -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 @@ -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