Skip to content

Commit

Permalink
ci: prepend a rubocop job
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jul 6, 2023
1 parent 4aec8b1 commit 43d6205
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,20 @@ on:
pull_request:

jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- run: bundle exec rubocop

test:
needs: ["rubocop"]
name: "activesupport ${{ matrix.activesupport }} / ruby ${{ matrix.ruby }}"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -52,7 +63,7 @@ jobs:
env:
BUNDLE_GEMFILE: gemfiles/active_support_${{ matrix.activesupport }}.gemfile
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down

0 comments on commit 43d6205

Please sign in to comment.