Skip to content

Commit f2464d6

Browse files
committed
Migrate test action from actions/checkout@v2 to actions/checkout@v4
1 parent d71ba41 commit f2464d6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
name: gha-workflow-authlogic-test
22
on: [push, pull_request]
33
jobs:
4-
54
# Linting is a separate job, primary because it only needs to be done once,
65
# and secondarily because jobs are performed concurrently.
76
gha-job-authlogic-lint:
87
name: Lint
98
runs-on: ubuntu-latest
109
steps:
1110
- name: Checkout source
12-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
1312
- name: Setup ruby
1413
uses: ruby/setup-ruby@v1
1514
with:
16-
# Set to `TargetRubyVersion` in `.rubocopy.yml`
15+
# Set to `TargetRubyVersion` in `.rubocop.yml`
1716
ruby-version: 2.6
1817
- name: Bundle
1918
run: |
@@ -56,19 +55,20 @@ jobs:
5655
# have set this up with each database as a separate job, but then we'd be
5756
# duplicating the matrix configuration three times.
5857
matrix:
59-
gemfile: [ 'rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0', 'rails_7.1' ]
58+
gemfile:
59+
["rails_5.2", "rails_6.0", "rails_6.1", "rails_7.0", "rails_7.1"]
6060

6161
# To keep matrix size down, only test highest and lowest rubies. In
6262
# `.rubocopy.yml`, set `TargetRubyVersion`, to the lowest ruby version
6363
# tested here.
64-
ruby: [ '2.6', '2.7' ]
64+
ruby: ["2.6", "2.7"]
6565

6666
exclude:
6767
# rails 7 requires ruby >= 2.7.0
68-
- ruby: '2.6'
69-
gemfile: 'rails_7.0'
70-
- ruby: '2.6'
71-
gemfile: 'rails_7.1'
68+
- ruby: "2.6"
69+
gemfile: "rails_7.0"
70+
- ruby: "2.6"
71+
gemfile: "rails_7.1"
7272
steps:
7373
- name: Checkout source
7474
uses: actions/checkout@v2

0 commit comments

Comments
 (0)