diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e67b8b9..8d6a1ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: run: cargo doc --workspace --all-features --no-deps - name: Install cargo-audit - run: cargo install cargo-audit + run: cargo install cargo-audit --force - name: Run Security Audit run: cargo audit diff --git a/ci-local.sh b/ci-local.sh index 39a7c3e..8560cd8 100755 --- a/ci-local.sh +++ b/ci-local.sh @@ -21,6 +21,12 @@ if ! command -v cargo-audit &> /dev/null; then cargo install cargo-audit fi +# Ensure cargo-nextest is installed +if ! command -v cargo-nextest &> /dev/null; then + echo "Installing cargo-nextest..." + cargo install cargo-nextest --locked +fi + # Run all CI steps locally echo "Checking Formatting..." cargo fmt --all -- --check || (echo "Formatting issues found, please run 'cargo fmt' to auto-fix." && exit 1)