diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index 6ed9689..695c160 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -33,7 +33,7 @@ jobs: - image: docker.io/asonix/rust-builder:latest-linux-amd64 target: x86_64-unknown-linux-musl - image: docker.io/asonix/rust-builder:latest-linux-arm32v7 - target: armv7-unkown-linux-musleabihf + target: armv7-unknown-linux-musleabihf - image: docker.io/asonix/rust-builder:latest-linux-arm64v8 target: aarch64-unkown-linux-musl runs-on: docker diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index eeeb4c9..b02ed3c 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -9,8 +9,8 @@ jobs: container: image: docker.io/asonix/rust-builder:latest-linux-amd64 steps: - - uses: actions/checkout@v4 - run: | + 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 @@ -20,8 +20,9 @@ jobs: 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 build: needs: @@ -42,8 +43,8 @@ jobs: container: image: docker.io/asonix/rust-builder:${{ matrix.tag }} steps: - - uses: actions/checkout@v4 - run: | + git clone ${{ env.github_server_url }}/${{ env.github_repository }} . cargo build --target=${{ matrix.target }} --release mkdir artifacts cp target/${{ matrix.target }}/release/pict-rs artifacts/pict-rs