Skip to content

Commit

Permalink
add workflow job for standardrb
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiascheffer committed Oct 8, 2024
1 parent 890f4d7 commit a360315
Showing 1 changed file with 12 additions and 19 deletions.
31 changes: 12 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,26 @@ on:
- master

jobs:
rubocop:
standard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f
with:
ruby-version: '3.3'
bundler-cache: true

- run: bundle exec rake rubocop

- name: Standard Ruby
uses: standardrb/standard-ruby-action@v1
test:
strategy:
fail-fast: false
matrix:
ruby-version:
- '3.1'
- '3.2'
- '3.3'
- "3.1"
- "3.2"
- "3.3"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- run: bundle exec rake spec
- run: bundle exec rake spec

0 comments on commit a360315

Please sign in to comment.