Skip to content

Commit 6ae66df

Browse files
committed
CI: Consistent naming of steps
Follows rubocop/rubocop@99592fc
1 parent 27ceabd commit 6ae66df

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ jobs:
2828
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', 'head']
2929

3030
steps:
31-
- name: checkout
32-
uses: actions/checkout@v4
33-
- name: set up Ruby
34-
uses: ruby/setup-ruby@v1
31+
- uses: actions/checkout@v4
32+
- uses: ruby/setup-ruby@v1
3533
with:
3634
ruby-version: ${{ matrix.ruby }}
3735
bundler-cache: true
@@ -44,10 +42,8 @@ jobs:
4442
name: JRuby 9.4
4543
runs-on: ubuntu-latest
4644
steps:
47-
- name: checkout
48-
uses: actions/checkout@v4
49-
- name: set up Ruby
50-
uses: ruby/setup-ruby@v1
45+
- uses: actions/checkout@v4
46+
- uses: ruby/setup-ruby@v1
5147
with:
5248
ruby-version: jruby-9.4
5349
bundler-cache: true
@@ -61,8 +57,7 @@ jobs:
6157
name: Prism
6258
steps:
6359
- uses: actions/checkout@v4
64-
- name: set up Ruby
65-
uses: ruby/setup-ruby@v1
60+
- uses: ruby/setup-ruby@v1
6661
with:
6762
# Specify the minimum Ruby version 2.7 required for Prism to run.
6863
ruby-version: 2.7
@@ -77,8 +72,7 @@ jobs:
7772
name: Check documentation syntax
7873
steps:
7974
- uses: actions/checkout@v4
80-
- name: set up Ruby
81-
uses: ruby/setup-ruby@v1
75+
- uses: ruby/setup-ruby@v1
8276
with:
8377
ruby-version: 3.2
8478
bundler-cache: true
@@ -98,8 +92,7 @@ jobs:
9892
cat << EOF > Gemfile.local
9993
gem 'rubocop', '1.52.0' # Specify the oldest supported RuboCop version
10094
EOF
101-
- name: set up Ruby
102-
uses: ruby/setup-ruby@v1
95+
- uses: ruby/setup-ruby@v1
10396
with:
10497
ruby-version: 2.7
10598
bundler-cache: true

0 commit comments

Comments
 (0)