From 728d9ba80129971e2aa222f755b2c7b08c18e911 Mon Sep 17 00:00:00 2001 From: SpikeHD <25207995+SpikeHD@users.noreply.github.com> Date: Wed, 23 Oct 2024 10:13:51 -0700 Subject: [PATCH] fix: rustfmt check for linux updater --- .github/workflows/backend.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 23e23012..12553026 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [windows-latest, ubuntu-20.04, macos-latest] + platform: [windows-latest, ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v4 @@ -44,6 +44,7 @@ jobs: # also check updater - name: Rustfmt check updater + if: matrix.platform != 'ubuntu-latest' run: cargo fmt --manifest-path ./updater/Cargo.toml --all -- --check clippy: @@ -106,4 +107,5 @@ jobs: # Also clippy check updater - name: Clippy check updater + if: matrix.platform != 'ubuntu-latest' run: cargo clippy --manifest-path ./updater/Cargo.toml --no-default-features -- -D warnings