V2: Add imperative to the zowe-cli repo #2333
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: Audit | |
on: | |
pull_request: | |
branches: | |
- master | |
- zowe-v1-lts | |
- next | |
# schedule: | |
# - cron: '0 10 * * *' | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Check Node Vulnerabilities | |
run: npm audit --production --audit-level=moderate | |
# TODO Consider using actions-rs/audit-check after https://github.com/actions-rs/audit-check/issues/116 is fixed | |
- name: Check Daemon Vulnerabilities | |
working-directory: zowex | |
run: cargo audit --deny warnings | |
- name: Check Secrets SDK Vulnerabilities | |
working-directory: packages/secrets/src/keyring | |
run: cargo audit --deny warnings |