Repository navigation
build(deps): bump cancancan from 3.6.1 to 3.7.0 #624
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "ruby: lint" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| ruby-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: "Install the Ruby version in .ruby-version" | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: "Run rubocop" | |
| env: | |
| RAILS_ENV: test | |
| run: | | |
| bundle exec rubocop |