Run checkout in node container

This commit is contained in:
asonix 2024-02-06 20:29:26 -06:00
parent a36f08dbdd
commit dfbcd6fb84

View file

@ -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