Pull in earlier config files #188
Workflow file for this run
This file contains 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: "Security" | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
types: ['opened', 'reopened', 'synchronize', 'unlocked'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/[email protected] | |
with: | |
ruby-version: '3.2.2' | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Security audit dependencies | |
run: bundle exec bundler-audit check --update | |
- name: Security audit application code | |
run: bundle exec brakeman -q -w2 |