2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00

Just git clone

This commit is contained in:
asonix 2024-02-06 21:57:43 -06:00
parent a3ae253bf1
commit b60b7b5a30

View file

@ -5,31 +5,22 @@ on:
- main
jobs:
checkout:
runs-on: docker
container:
image: docker.io/node:20-bookworm
steps:
- uses: actions/checkout@v4
- run: ls
clippy:
needs: [checkout]
runs-on: docker
container:
image: docker.io/asonix/rust-builder:latest-linux-amd64
steps:
- run: |
ls
git clone ${{ env.github_server_url }}/${{ env.github_repository }}
rustup component add clippy
cargo clippy --no-default-features -- -D warnings
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
steps:
- uses: actions/checkout@v4
- run: cargo test
- run: |
git clone ${{ env.github_server_url }}/${{ env.github_repository }}
cargo test