Skip to content

Commit fe9bafd

Browse files
committed
argon2: test using cargo careful
Helps spot issues with `unsafe` code. See: https://github.com/RalfJung/cargo-careful
1 parent cd75f02 commit fe9bafd

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/argon2.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: argon2
33
on:
44
pull_request:
55
paths:
6+
- ".github/workflows/argon2.yml"
67
- "argon2/**"
78
- "Cargo.*"
89
push:
@@ -42,7 +43,7 @@ jobs:
4243
minimal-versions:
4344
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
4445
with:
45-
working-directory: ${{ github.workflow }}
46+
working-directory: ${{ github.workflow }}
4647

4748
test:
4849
runs-on: ubuntu-latest
@@ -75,6 +76,14 @@ jobs:
7576
- run: cargo test
7677
- run: cargo test --all-features
7778

79+
careful:
80+
runs-on: ubuntu-latest
81+
steps:
82+
- uses: actions/checkout@v4
83+
- uses: dtolnay/rust-toolchain@nightly
84+
- run: cargo install cargo-careful
85+
- run: cargo careful test --all-features
86+
7887
cross:
7988
strategy:
8089
matrix:

0 commit comments

Comments
 (0)