Skip to content

Commit

Permalink
fix: rustfmt check for linux updater
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 23, 2024
1 parent bb5d696 commit 728d9ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 728d9ba

Please sign in to comment.