diff options
author | 2022-01-13 19:59:25 +0700 | |
---|---|---|
committer | 2022-01-13 19:59:25 +0700 | |
commit | 34adeaa0810b3f36e47c2b63b0a09401a3cb878b (patch) | |
tree | 96517389eb6063b37b98d50c164ad9cb3cafd910 /.github | |
parent | 5f9cf991a7e2f5393e56b610db119bcedfd5eb42 (diff) | |
download | iced-34adeaa0810b3f36e47c2b63b0a09401a3cb878b.tar.gz iced-34adeaa0810b3f36e47c2b63b0a09401a3cb878b.tar.bz2 iced-34adeaa0810b3f36e47c2b63b0a09401a3cb878b.zip |
Add `audit` workflow for GitHub CI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/audit.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 00000000..2ffa10a8 --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,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 |