From 4f83b30424420d26b8b42ceee936307419b619e8 Mon Sep 17 00:00:00 2001 From: epi Date: Sat, 14 Sep 2024 14:39:02 -0400 Subject: [PATCH] migrating from actions-rs to dtolnay stuff; test 1 --- .github/workflows/build.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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