Skip to content

Commit

Permalink
argon2: test using cargo careful
Browse files Browse the repository at this point in the history
Helps spot issues with `unsafe` code. See:

https://github.com/RalfJung/cargo-careful
  • Loading branch information
tarcieri committed Jan 21, 2025
1 parent cd75f02 commit f3719c5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/argon2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}
working-directory: ${{ github.workflow }}

test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -75,6 +75,14 @@ jobs:
- run: cargo test
- run: cargo test --all-features

careful:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: cargo install cargo-careful
- run: cargo careful test --all-features

cross:
strategy:
matrix:
Expand Down

0 comments on commit f3719c5

Please sign in to comment.