mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: move deny to lint (#13230)
This commit is contained in:
27
.github/workflows/deny.yml
vendored
27
.github/workflows/deny.yml
vendored
@ -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
|
|
||||||
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -251,6 +251,9 @@ jobs:
|
|||||||
zepter --version
|
zepter --version
|
||||||
time zepter run check
|
time zepter run check
|
||||||
|
|
||||||
|
deny:
|
||||||
|
uses: ithacaxyz/ci/.github/workflows/deny.yml@main
|
||||||
|
|
||||||
lint-success:
|
lint-success:
|
||||||
name: lint success
|
name: lint success
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -269,6 +272,7 @@ jobs:
|
|||||||
- no-test-deps
|
- no-test-deps
|
||||||
- features
|
- features
|
||||||
- feature-propagation
|
- feature-propagation
|
||||||
|
- deny
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: Decide whether the needed jobs succeeded or failed
|
- name: Decide whether the needed jobs succeeded or failed
|
||||||
|
|||||||
Reference in New Issue
Block a user