From 6f0d480492757dd8213d8cb62c15ac693a14f76c Mon Sep 17 00:00:00 2001 From: Melfely Date: Tue, 8 Sep 2026 17:16:38 -0500 Subject: [PATCH] fix: Removed Linting of multiple targets. Fixes improper target for build of aarch-64 to aarch64 --- .gitea/workflows/lint.yml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 7315ff5..918eea6 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -16,8 +16,6 @@ jobs: - name: Setup Rust uses: dtolnay/rust-toolchain@1.90.0 - with: - targets: x86_64-pc-windows-gnu aarch64-apple-darwin aarch64-unknown-linux-gnu x86_64-unknown-linux-musl aarch64-unknown-linux-musl - name: Install cargo fmt run: rustup component add rustfmt @@ -57,22 +55,9 @@ jobs: - name: Check for unused dependencies run: cargo machete - - name: Clippy for Linux x86 (GNU and MUSL) + - name: Clippy for Linux x86 (GNU ONLY) run: | cargo clippy --target x86_64-unknown-linux-gnu -- -D warnings - cargo clippy --target x86_64-unknown-linux-musl -- -D warnings - - - name: Clippy for Linux aarch64 (GNU and MUSL) - run: | - cargo clippy --target aarch-64-unknown-linux-gnu -- -D warnings - cargo clippy --target aarch-64-unknown-linux-musl -- -D warnings - - - name: Clippy for x86 Windows - run: cargo clippy --target x86_64-pc-windows-gnu -- -D warnings - - - name: Clippy for MacOS aarch64 - run: cargo clippy --target aarch64-apple-darwin -- -D warnings - build: name: Build runs-on: ubuntu-latest @@ -107,8 +92,8 @@ jobs: - name: Build for Linux aarch64 (GNU and MUSL) run: | - cargo build --target aarch-64-unknown-linux-gnu --locked - cargo build --target aarch-64-unknown-linux-musl --locked + cargo build --target aarch64-unknown-linux-gnu --locked + cargo build --target aarch64-unknown-linux-musl --locked - name: Build for x86 Windows run: cargo build --target x86_64-pc-windows-gnu --locked