ci: move deny to lint (#13230)

This commit is contained in:
DaniPopes
2024-12-09 16:03:50 +01:00
committed by GitHub
parent 49d3d82b64
commit 3bc7b00fb3
2 changed files with 4 additions and 27 deletions

View File

@ -1,27 +0,0 @@
# Runs `cargo-deny` when modifying `Cargo.lock`.
name: deny
on:
push:
branches: [main]
paths: [Cargo.lock]
pull_request:
branches: [main]
paths: [Cargo.lock]
merge_group:
env:
CARGO_TERM_COLOR: always
concurrency: deny-${{ github.head_ref || github.run_id }}
jobs:
deny:
name: deny
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check all

View File

@ -251,6 +251,9 @@ jobs:
zepter --version
time zepter run check
deny:
uses: ithacaxyz/ci/.github/workflows/deny.yml@main
lint-success:
name: lint success
runs-on: ubuntu-latest
@ -269,6 +272,7 @@ jobs:
- no-test-deps
- features
- feature-propagation
- deny
timeout-minutes: 30
steps:
- name: Decide whether the needed jobs succeeded or failed