diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e309a77..fb30657f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,19 +84,18 @@ jobs: env sudo apt-get update sudo apt-get install -y --no-install-recommends libssl-dev pkg-config - - uses: actions-rs/toolchain@v1 + - name: Set up Rust toolchain + uses: actions/rust-toolchain@v1 with: toolchain: stable + components: rustfmt, clippy target: x86_64-unknown-linux-musl - override: true - - uses: actions-rs/cargo@v1 + + - name: Build the project env: PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig OPENSSL_DIR: /usr/lib/ssl - with: - use-cross: true - command: build - args: --target=x86_64-unknown-linux-musl + run: cargo build --target=x86_64-unknown-linux-musl - uses: actions/upload-artifact@v4 with: name: x86_64-linux-debug-feroxbuster