mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
Just git clone
This commit is contained in:
parent
a3ae253bf1
commit
b60b7b5a30
1 changed files with 4 additions and 13 deletions
|
@ -5,31 +5,22 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout:
|
|
||||||
runs-on: docker
|
|
||||||
container:
|
|
||||||
image: docker.io/node:20-bookworm
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- run: ls
|
|
||||||
|
|
||||||
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:
|
||||||
- run: |
|
- run: |
|
||||||
ls
|
git clone ${{ env.github_server_url }}/${{ env.github_repository }}
|
||||||
rustup component add clippy
|
rustup component add clippy
|
||||||
cargo clippy --no-default-features -- -D warnings
|
cargo clippy --no-default-features -- -D warnings
|
||||||
cargo clippy --no-default-features --features io-uring -- -D warnings
|
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
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- run: |
|
||||||
- run: cargo test
|
git clone ${{ env.github_server_url }}/${{ env.github_repository }}
|
||||||
|
cargo test
|
||||||
|
|
Loading…
Reference in a new issue