30 lines
867 B
YAML
30 lines
867 B
YAML
name: Audit
|
|
on:
|
|
push: {}
|
|
pull_request: {}
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
jobs:
|
|
vulnerabilities:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: hecrj/setup-rust-action@v2
|
|
- name: Install cargo-audit
|
|
run: cargo install cargo-audit
|
|
- uses: actions/checkout@master
|
|
- name: Resolve dependencies
|
|
run: cargo update
|
|
- name: Audit vulnerabilities
|
|
run: cargo audit
|
|
|
|
# artifacts:
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - uses: hecrj/setup-rust-action@v2
|
|
# - name: Install cargo-outdated
|
|
# run: cargo install cargo-outdated
|
|
# - uses: actions/checkout@master
|
|
# - name: Delete `web-sys` dependency from `integration` example
|
|
# run: sed -i '$d' examples/integration/Cargo.toml
|
|
# - name: Find outdated dependencies
|
|
# run: cargo outdated --workspace --exit-code 1 --ignore raw-window-handle
|