Skip to content

Allow use bundler

Allow use bundler #44

Workflow file for this run

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"