mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 04:21:12 +00:00
Run checkout in node container
This commit is contained in:
parent
a36f08dbdd
commit
dfbcd6fb84
1 changed files with 9 additions and 1 deletions
|
@ -5,17 +5,25 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
checkout:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: docker.io/_/node:20-alpine3.19
|
||||||
|
steps:
|
||||||
|
- uses: actionx/checkout@v4
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
|
needs: [checkout]
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- run: rustup component add clippy
|
- run: rustup component add clippy
|
||||||
- run: cargo clippy --no-default-features -- -D warnings
|
- run: cargo clippy --no-default-features -- -D warnings
|
||||||
- run: cargo clippy --no-default-features --features io-uring -- -D warnings
|
- run: cargo clippy --no-default-features --features io-uring -- -D warnings
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
|
needs: [checkout]
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
||||||
|
|
Loading…
Reference in a new issue