2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 03:11:24 +00:00

Add cargo-deny run

This commit is contained in:
asonix 2024-06-21 14:27:11 -05:00
parent 955f3ed229
commit 0dbdbd2d49
2 changed files with 41 additions and 9 deletions

View file

@ -10,7 +10,7 @@ jobs:
clippy:
runs-on: docker
container:
image: docker.io/asonix/actions-base-image:0.1
image: docker.io/asonix/actions-base-image:0.1.21
steps:
-
name: Checkout pict-rs
@ -24,10 +24,26 @@ jobs:
cargo clippy --no-default-features -- -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:
runs-on: docker
container:
image: docker.io/asonix/actions-base-image:0.1
image: docker.io/asonix/actions-base-image:0.1.21
steps:
-
name: Checkout pict-rs
@ -49,7 +65,7 @@ jobs:
- aarch64-unknown-linux-musl
runs-on: docker
container:
image: docker.io/asonix/actions-base-image:0.1
image: docker.io/asonix/actions-base-image:0.1.21
steps:
-
name: Checkout pict-rs

View file

@ -10,7 +10,7 @@ jobs:
clippy:
runs-on: base-image
container:
image: docker.io/asonix/actions-base-image:0.1
image: docker.io/asonix/actions-base-image:0.1.21
steps:
-
name: Checkout pict-rs
@ -24,10 +24,26 @@ jobs:
cargo clippy --no-default-features -- -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:
runs-on: docker
container:
image: docker.io/asonix/actions-base-image:0.1
image: docker.io/asonix/actions-base-image:0.1.21
steps:
-
name: Checkout pict-rs
@ -45,7 +61,7 @@ jobs:
- tests
runs-on: docker
container:
image: docker.io/asonix/actions-base-image:0.1
image: docker.io/asonix/actions-base-image:0.1.21
strategy:
fail-fast: false
matrix:
@ -145,7 +161,7 @@ jobs:
publish-docker:
runs-on: docker
container:
image: docker.io/asonix/actions-base-image:0.1
image: docker.io/asonix/actions-base-image:0.1.21
needs: [build]
steps:
-
@ -196,7 +212,7 @@ jobs:
needs: [build]
runs-on: docker
container:
image: docker.io/asonix/actions-base-image:0.1
image: docker.io/asonix/actions-base-image:0.1.21
steps:
- uses: https://github.com/actions/download-artifact@v3
with:
@ -213,7 +229,7 @@ jobs:
needs: [build]
runs-on: docker
container:
image: docker.io/asonix/actions-base-image:0.1
image: docker.io/asonix/actions-base-image:0.1.21
steps:
-
name: Checkout pict-rs