mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 23:24:35 +01:00
Add rustfmt CI check
This commit is contained in:
11
.github/workflows/backend-checks.yml
vendored
11
.github/workflows/backend-checks.yml
vendored
@@ -15,6 +15,17 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
rustfmt:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --manifest-path ./src-tauri/Cargo.toml --all -- --check
|
||||
|
||||
clippy:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user