Bundle Audit #366
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: Bundle Audit | |
on: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
base: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.0 | |
bundler-cache: true | |
- name: Install bundler-audit | |
run: gem install bundler-audit | |
- name: Check dependencies with known vulnerabilities | |
run: bundle-audit --update | |
- name: Check javascript dependencies | |
run: yarn audit |