summaryrefslogtreecommitdiffstats
path: root/.github/workflows/audit.yml
blob: 30bb30048b3f8385dad797b6c6f8436ac7ad81e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: Audit
on: [push]
jobs:
  dependencies:
    runs-on: ubuntu-latest
    steps:
    - uses: hecrj/setup-rust-action@v1
    - name: Install cargo-audit
      run: cargo install cargo-audit
    - uses: actions/checkout@master
    - name: Manually update `nix` crates # See https://github.com/nix-rust/nix/issues/1627
      run: |
        cargo update --package nix:0.20.0 --precise 0.20.2
    - name: Audit dependencies
      run: cargo audit