diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7740f3bd..ec1a526b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,6 @@ name: gha-workflow-authlogic-test on: [push, pull_request] jobs: - # Linting is a separate job, primary because it only needs to be done once, # and secondarily because jobs are performed concurrently. gha-job-authlogic-lint: @@ -9,11 +8,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup ruby uses: ruby/setup-ruby@v1 with: - # Set to `TargetRubyVersion` in `.rubocopy.yml` + # Set to `TargetRubyVersion` in `.rubocop.yml` ruby-version: 2.6 - name: Bundle run: | @@ -56,19 +55,20 @@ jobs: # have set this up with each database as a separate job, but then we'd be # duplicating the matrix configuration three times. matrix: - gemfile: [ 'rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0', 'rails_7.1' ] + gemfile: + ["rails_5.2", "rails_6.0", "rails_6.1", "rails_7.0", "rails_7.1"] # To keep matrix size down, only test highest and lowest rubies. In # `.rubocopy.yml`, set `TargetRubyVersion`, to the lowest ruby version # tested here. - ruby: [ '2.6', '2.7' ] + ruby: ["2.6", "2.7"] exclude: # rails 7 requires ruby >= 2.7.0 - - ruby: '2.6' - gemfile: 'rails_7.0' - - ruby: '2.6' - gemfile: 'rails_7.1' + - ruby: "2.6" + gemfile: "rails_7.0" + - ruby: "2.6" + gemfile: "rails_7.1" steps: - name: Checkout source uses: actions/checkout@v2