mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +00:00
Add cargo-deny run
This commit is contained in:
parent
955f3ed229
commit
0dbdbd2d49
2 changed files with 41 additions and 9 deletions
|
@ -10,7 +10,7 @@ jobs:
|
||||||
clippy:
|
clippy:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/actions-base-image:0.1
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout pict-rs
|
name: Checkout pict-rs
|
||||||
|
@ -24,10 +24,26 @@ jobs:
|
||||||
cargo clippy --no-default-features -- -D warnings
|
cargo clippy --no-default-features -- -D warnings
|
||||||
cargo clippy --no-default-features --features io-uring -- -D warnings
|
cargo clippy --no-default-features --features io-uring -- -D warnings
|
||||||
|
|
||||||
|
deny:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout pict-rs
|
||||||
|
uses: https://github.com/actions/checkout@v4
|
||||||
|
-
|
||||||
|
name: Cargo Cache
|
||||||
|
uses: https://git.asonix.dog/asonix/actions/cache-rust-dependencies@main
|
||||||
|
-
|
||||||
|
name: Clippy
|
||||||
|
run: |
|
||||||
|
cargo deny check
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/actions-base-image:0.1
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout pict-rs
|
name: Checkout pict-rs
|
||||||
|
@ -49,7 +65,7 @@ jobs:
|
||||||
- aarch64-unknown-linux-musl
|
- aarch64-unknown-linux-musl
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/actions-base-image:0.1
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout pict-rs
|
name: Checkout pict-rs
|
||||||
|
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
clippy:
|
clippy:
|
||||||
runs-on: base-image
|
runs-on: base-image
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/actions-base-image:0.1
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout pict-rs
|
name: Checkout pict-rs
|
||||||
|
@ -24,10 +24,26 @@ jobs:
|
||||||
cargo clippy --no-default-features -- -D warnings
|
cargo clippy --no-default-features -- -D warnings
|
||||||
cargo clippy --no-default-features --features io-uring -- -D warnings
|
cargo clippy --no-default-features --features io-uring -- -D warnings
|
||||||
|
|
||||||
|
deny:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout pict-rs
|
||||||
|
uses: https://github.com/actions/checkout@v4
|
||||||
|
-
|
||||||
|
name: Cargo Cache
|
||||||
|
uses: https://git.asonix.dog/asonix/actions/cache-rust-dependencies@main
|
||||||
|
-
|
||||||
|
name: Clippy
|
||||||
|
run: |
|
||||||
|
cargo deny check
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/actions-base-image:0.1
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout pict-rs
|
name: Checkout pict-rs
|
||||||
|
@ -45,7 +61,7 @@ jobs:
|
||||||
- tests
|
- tests
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/actions-base-image:0.1
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -145,7 +161,7 @@ jobs:
|
||||||
publish-docker:
|
publish-docker:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/actions-base-image:0.1
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
needs: [build]
|
needs: [build]
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
|
@ -196,7 +212,7 @@ jobs:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/actions-base-image:0.1
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
steps:
|
steps:
|
||||||
- uses: https://github.com/actions/download-artifact@v3
|
- uses: https://github.com/actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
@ -213,7 +229,7 @@ jobs:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/actions-base-image:0.1
|
image: docker.io/asonix/actions-base-image:0.1.21
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout pict-rs
|
name: Checkout pict-rs
|
||||||
|
|
Loading…
Reference in a new issue