chore: update content
This commit is contained in:
parent
1c9f4b8fcc
commit
b90d656e24
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user