Skip to content

Commit

Permalink
argon2: test using cargo careful (#553)
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 authored Jan 21, 2025
1 parent 59bc179 commit c60caf7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/argon2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: argon2
on:
pull_request:
paths:
- ".github/workflows/argon2.yml"
- "argon2/**"
- "Cargo.*"
push:
Expand Down Expand Up @@ -42,7 +43,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 +76,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 c60caf7

Please sign in to comment.