Merge pull request #147 from artichoke/dependabot/bundler/bundler-dep… #469
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: Audit | |
"on": | |
push: | |
branches: | |
- trunk | |
pull_request: | |
branches: | |
- trunk | |
schedule: | |
- cron: "0 0 * * TUE" | |
jobs: | |
js: | |
name: Audit JS Dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install Nodejs toolchain | |
run: npm ci | |
- name: npm audit | |
run: npm audit | |
ruby: | |
name: Audit Ruby Dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install Ruby toolchain | |
uses: ruby/setup-ruby@52b8784594ec115fd17094752708121dc5dabb47 # v1.154.0 | |
with: | |
ruby-version: ".ruby-version" | |
bundler-cache: true | |
- name: bundler-audit | |
run: bundle exec bundle-audit check --update |