Skip to content

Commit

Permalink
Consistent naming of steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain authored and marcandre committed Dec 28, 2024
1 parent 08770b0 commit 14ecaea
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ jobs:
# set TMPDIR, git core.autocrlf
echo "TMPDIR=$env:RUNNER_TEMP" >> $GITHUB_ENV
git config --system core.autocrlf false
- 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 }}
- name: install dependencies
Expand Down Expand Up @@ -79,8 +77,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 Down Expand Up @@ -110,10 +107,8 @@ jobs:
# as well as very old specs & ancient ruby version
- { rubocop: "v1.61.0", ruby: "2.7", os: ubuntu }
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 }}
- name: setup env
Expand Down Expand Up @@ -143,10 +138,8 @@ jobs:
ruby: ["3.0"]
rubocop: [master]
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 }}
- name: install dependencies
Expand Down

0 comments on commit 14ecaea

Please sign in to comment.