Run cargo update before cargo audit in audit workflow

This commit is contained in:
Héctor Ramón Jiménez 2023-10-22 15:08:08 +02:00
parent 0770e7eaf8
commit f1b1344d59
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -12,6 +12,8 @@ jobs:
- name: Install cargo-audit
run: cargo install cargo-audit
- uses: actions/checkout@master
- name: Resolve dependencies
run: cargo update
- name: Audit vulnerabilities
run: cargo audit