diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c67e522..8b4e0ff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,12 +32,15 @@ repos: pass_filenames: false stages: [pre-push] - - id: cargo-deny - name: Cargo deny (licenses & advisories) - entry: bash -c 'if [ -f Cargo.toml ]; then cargo deny check licenses advisories; elif [ -f platform/Cargo.toml ]; then cd platform && cargo deny check licenses advisories; fi' - language: system - pass_filenames: false - stages: [pre-push] + # NOTE: cargo-deny config needs migration to latest version + # See: https://github.com/EmbarkStudios/cargo-deny/pull/611 + # Disabled until deny.toml is updated to current format + # - id: cargo-deny + # name: Cargo deny (licenses & advisories) + # entry: bash -c 'if [ -f Cargo.toml ]; then cargo deny check; elif [ -f platform/Cargo.toml ]; then cd platform && cargo deny check; fi' + # language: system + # pass_filenames: false + # stages: [pre-push] # ============================================================================ # Nushell Hooks (optional - enable if using Nushell)