From 4dede53795853be4e8ffce0f44ae980aa43a9ab2 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Sat, 28 Dec 2024 14:10:53 +0100 Subject: [PATCH] Update CI; Test Ruby 3.4 and Rails 8 --- .github/workflows/test.yml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08607f4e..365385d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] + ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4'] steps: - uses: actions/checkout@v4 - name: Set up Ruby @@ -46,6 +46,11 @@ jobs: if: ${{ matrix.ruby != '2.5' && matrix.ruby != '2.6' }} env: SINATRA: 4.0.0 + - run: bundle update && bundle exec rake test:sinatra + name: "rake test:sinatra SINATRA=4.1.1" + if: ${{ matrix.ruby != '2.5' && matrix.ruby != '2.6' }} + env: + SINATRA: 4.1.1 - run: bundle update && bundle exec rake test:sinatra name: "rake test:sinatra SINATRA=main" if: ${{ matrix.ruby != '2.5' && matrix.ruby != '2.6' }} @@ -98,9 +103,27 @@ jobs: env: RAILS: 7.0.8 - run: bundle update && bundle exec rake test:rails - name: "rake test:rails RAILS=7.1.3" + name: "rake test:rails RAILS=7.1.5" + env: + RAILS: 7.1.5 + - run: bundle update && bundle exec rake test:rails + name: "rake test:rails RAILS=7.2.2" + env: + RAILS: 7.2.2 + rails-8: + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.4 + - run: bundle update && bundle exec rake test:rails + name: "rake test:rails RAILS=8.0.1" env: - RAILS: 7.1.3 + RAILS: 8.0.1 - run: bundle update && bundle exec rake test:rails name: "rake test:rails RAILS=main" env: