Skip to content

Commit

Permalink
udeps
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Wagner <[email protected]>
  • Loading branch information
nwagner84 committed Apr 1, 2024
1 parent 009124a commit 07b9e82
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- fmt
# - fuzz
- test
- udeps
steps:
- run: exit 0

Expand Down Expand Up @@ -146,28 +147,15 @@ jobs:
- run: ci/prepare-tests.sh
- run: make careful

# # udeps:
# # if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
# # runs-on: ubuntu-latest
# # needs: test
# # steps:
# # - uses: actions/checkout@v4
# # - uses: abbbi/github-actions-tune@v1
# # - uses: actions/cache@v4
# # with:
# # key: ${{ env.CACHE_KEY }}-${{ hashFiles('**/Cargo.toml') }}
# # path: |
# # ~/.cargo/bin/
# # ~/.cargo/git/db/
# # ~/.cargo/registry/cache/
# # ~/.cargo/registry/index/
# # target/
# # - uses: dtolnay/rust-toolchain@nightly
# # - name: "Install `cargo-udeps`"
# # run: |
# # cargo install -f cargo-udeps
# # - run: |
# # cargo udeps --workspace
udeps:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- run: cargo install cargo-udeps
- run: cargo udeps --workspace

# audit:
# if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 07b9e82

Please sign in to comment.