Skip to content

Commit

Permalink
CI: Consistent naming of steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Dec 27, 2024
1 parent 27ceabd commit 6ae66df
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ jobs:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', 'head']

steps:
- name: checkout
uses: actions/checkout@v4
- name: set up Ruby
uses: ruby/setup-ruby@v1
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
Expand All @@ -44,10 +42,8 @@ jobs:
name: JRuby 9.4
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up Ruby
uses: ruby/setup-ruby@v1
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: jruby-9.4
bundler-cache: true
Expand All @@ -61,8 +57,7 @@ jobs:
name: Prism
steps:
- uses: actions/checkout@v4
- name: set up Ruby
uses: ruby/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
# Specify the minimum Ruby version 2.7 required for Prism to run.
ruby-version: 2.7
Expand All @@ -77,8 +72,7 @@ jobs:
name: Check documentation syntax
steps:
- uses: actions/checkout@v4
- name: set up Ruby
uses: ruby/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
Expand All @@ -98,8 +92,7 @@ jobs:
cat << EOF > Gemfile.local
gem 'rubocop', '1.52.0' # Specify the oldest supported RuboCop version
EOF
- name: set up Ruby
uses: ruby/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
Expand Down

0 comments on commit 6ae66df

Please sign in to comment.