Skip to content

Commit

Permalink
ci: run rubocop just one time as a separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
santiagorodriguez96 committed Nov 8, 2024
1 parent 89419b5 commit 6e8333c
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
ruby-version: '3.3'
with:
bundler-cache: true
- run: bundle exec rubocop -f github

0 comments on commit 6e8333c

Please sign in to comment.