summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-01-14 13:50:30 +0700
committerLibravatar GitHub <noreply@github.com>2022-01-14 13:50:30 +0700
commitb7bc169120d3447ead238e974007027a5152d341 (patch)
treec0c3f56883c7df0f05acdc602b21c7a0f100cc56 /.github
parent15a13a76b4b0534d08afc0328b90267048e41b9d (diff)
parent34adeaa0810b3f36e47c2b63b0a09401a3cb878b (diff)
downloadiced-b7bc169120d3447ead238e974007027a5152d341.tar.gz
iced-b7bc169120d3447ead238e974007027a5152d341.tar.bz2
iced-b7bc169120d3447ead238e974007027a5152d341.zip
Merge pull request #1195 from iced-rs/fix/vulnerabilities
Fix `cargo-audit` vulnerabilities
Diffstat (limited to '')
-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