mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
26 lines
494 B
YAML
26 lines
494 B
YAML
|
name: Security audit
|
||
|
on:
|
||
|
pull_request:
|
||
|
paths:
|
||
|
- '**/Cargo.toml'
|
||
|
- '**/Cargo.lock'
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
env:
|
||
|
RUST_BACKTRACE: 1
|
||
|
CARGO_TERM_COLOR: always
|
||
|
CLICOLOR: 1
|
||
|
|
||
|
jobs:
|
||
|
security_audit:
|
||
|
runs-on: ubuntu-latest
|
||
|
# Prevent sudden announcement of a new advisory from failing ci:
|
||
|
continue-on-error: true
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- uses: rustsec/audit-check@v1.4.1
|
||
|
with:
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|