summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-13 19:59:25 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-13 19:59:25 +0700
commit34adeaa0810b3f36e47c2b63b0a09401a3cb878b (patch)
tree96517389eb6063b37b98d50c164ad9cb3cafd910 /.github
parent5f9cf991a7e2f5393e56b610db119bcedfd5eb42 (diff)
downloadiced-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.yml16
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