Skip to content

Commit

Permalink
Migrate test action from actions/checkout@v2 to actions/checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
tiegz committed Dec 17, 2023
1 parent d71ba41 commit f2464d6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
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:
name: Lint
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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f2464d6

Please sign in to comment.