Skip to content

Commit

Permalink
Merge pull request #439 from cedarcode/sr--run-rubocop-as-a-separate-job
Browse files Browse the repository at this point in the history
Run rubocop just one time as a separate job
  • Loading branch information
santiagorodriguez96 authored Nov 11, 2024
2 parents 89419b5 + 4eb5495 commit 6fe25bf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
- run: bundle exec rspec
env:
RUBYOPT: ${{ startsWith(matrix.ruby, '3.4') && '--enable=frozen-string-literal' || '' }}

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- run: bundle exec rubocop -f github

0 comments on commit 6fe25bf

Please sign in to comment.