summaryrefslogtreecommitdiffstats
path: root/.github/workflows/audit.yml
blob: 2ffa10a87f34e69055579486d8afa4bfb8259f09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
        cargo update --package nix:0.22.0 --precise 0.22.2
    - name: Audit dependencies
      run: cargo audit