Update fail_on_error to fail_level in workflows #50
Workflow file for this run
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: CI | |
on: [pull_request] | |
jobs: | |
test-skip-install-and-use-bundler: | |
name: runner / brakeman | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: test/using_bundler | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/test/using_bundler/Gemfile | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
bundler-cache: true | |
- name: brakeman with skip install and using bundler | |
uses: ./ | |
with: | |
github_token: ${{ secrets.github_token }} | |
brakeman_flags: "--force" | |
skip_install: 'true' | |
use_bundler: 'true' | |
- run: | | |
test "$(bundle exec brakeman --version)" == "brakeman 5.1.2" |