Skip to content

chore(deps): bump actions/checkout from 5.0.0 to 6.0.0 #15

chore(deps): bump actions/checkout from 5.0.0 to 6.0.0

chore(deps): bump actions/checkout from 5.0.0 to 6.0.0 #15

Workflow file for this run

name: Machete
on:
workflow_dispatch:
pull_request:
branches: ["main"]
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
jobs:
machete:
name: Check for unused dependencies
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: Install Rust
uses: ./.github/actions/rust
with:
tools: cargo-hack, cargo-machete
token: ${{ secrets.GITHUB_TOKEN }}
- name: Check for unused dependencies
run: |
# --with-metadata has false positives, see https://github.com/bnjbvr/cargo-machete/issues/127
cargo machete --with-metadata
cargo hack --workspace --no-manifest-path machete --with-metadata