#10790 fix rubocop offenses #53
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: Run Brakeman | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install package dependencies | |
| run: > | |
| sudo apt-get install --yes --quiet | |
| pandoc | |
| - name: Setup gems | |
| run: | | |
| cp test/support/gemfile.rb Gemfile | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2 | |
| bundler-cache: true | |
| - name: Run bundler | |
| run: | | |
| bundle install --jobs 4 --retry 3 | |
| - name: Run Brakeman | |
| run: | | |
| bundle exec brakeman -5 --force |