.github/workflows/test.yml in keyless-1.0.2 vs .github/workflows/test.yml in keyless-1.1.0

- old
+ new

@@ -10,25 +10,29 @@ group: '${{ github.ref }}' cancel-in-progress: true jobs: test: - name: 'Test the gem (Ruby ${{ matrix.ruby }})' - runs-on: ubuntu-20.04 + name: 'Test the gem (Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }})' + runs-on: ubuntu-22.04 timeout-minutes: 5 strategy: fail-fast: false matrix: - ruby: [2.4, 2.5, 2.6] + ruby: ['2.5', '2.7'] + rails: ['5.2'] + env: + BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install the correct Ruby version uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true + rubygems: '3.3.26' - name: Prepare the virtual environment uses: hausgold/actions/ci@master with: clone_token: '${{ secrets.CLONE_TOKEN }}' @@ -41,10 +45,10 @@ - name: Upload the code coverage report run: coverage trigger-docs: name: Trigger the documentation upload - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 timeout-minutes: 2 needs: test if: github.ref == 'refs/heads/master' steps: - name: Prepare the virtual environment