mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-11 11:45:57 +00:00
Run rubocop as part of the CI workflow
This commit is contained in:
parent
f611a18962
commit
2967344f2b
1 changed files with 14 additions and 1 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -20,4 +20,17 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: bundle install
|
||||
- name: Run tests
|
||||
run: bundle exec rspec spec/
|
||||
run: bundle exec rake spec
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: "3.4"
|
||||
bundler-cache: true
|
||||
- name: Install dependencies
|
||||
run: bundle install
|
||||
- name: Run tests
|
||||
run: bundle exec rake rubocop
|
||||
|
|
|
|||
Loading…
Reference in a new issue