From dfbcd6fb84fda82555d206577ec6ad164d4c5e75 Mon Sep 17 00:00:00 2001 From: asonix Date: Tue, 6 Feb 2024 20:29:26 -0600 Subject: [PATCH] Run checkout in node container --- .forgejo/workflows/check.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index e273b03..70a6a35 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -5,17 +5,25 @@ on: - main jobs: + checkout: + runs-on: docker + container: + image: docker.io/_/node:20-alpine3.19 + steps: + - uses: actionx/checkout@v4 + clippy: + needs: [checkout] runs-on: docker container: image: docker.io/asonix/rust-builder:latest-linux-amd64 steps: - - uses: actions/checkout@v4 - run: rustup component add clippy - run: cargo clippy --no-default-features -- -D warnings - run: cargo clippy --no-default-features --features io-uring -- -D warnings tests: + needs: [checkout] runs-on: docker container: image: docker.io/asonix/rust-builder:latest-linux-amd64