|
4 | 4 | pull_request: |
5 | 5 | push: |
6 | 6 | paths-ignore: |
7 | | - - '*.md' |
8 | | - - 'LICENSE*' |
| 7 | + - "*.md" |
| 8 | + - "LICENSE*" |
9 | 9 | workflow_dispatch: |
10 | 10 |
|
11 | 11 | env: |
|
32 | 32 | - name: Cache Rust workspace |
33 | 33 | uses: Swatinem/rust-cache@v2 |
34 | 34 | - name: Cargo check |
35 | | - run: cargo check --features all |
| 35 | + run: cargo check --all-targets --all-features |
36 | 36 | - name: Cargo clippy |
37 | | - run: cargo clippy --features all |
| 37 | + run: cargo clippy --all-targets --all-features |
38 | 38 |
|
39 | 39 | fmt: |
40 | 40 | name: Format |
|
72 | 72 | name: Test |
73 | 73 | strategy: |
74 | 74 | matrix: |
75 | | - platform: [ ubuntu-latest, windows-latest, macos-latest ] |
| 75 | + platform: [ubuntu-latest, windows-latest, macos-latest] |
76 | 76 | fail-fast: false |
77 | 77 | runs-on: ${{ matrix.platform }} |
78 | 78 | steps: |
@@ -159,7 +159,7 @@ jobs: |
159 | 159 | key: ${{ matrix.target }} |
160 | 160 | - name: Cargo build |
161 | 161 | run: > |
162 | | - cargo ${{ matrix.build }} --profile ${{ env.BUILD_PROFILE }} --target ${{ matrix.target }} |
| 162 | + cargo ${{ matrix.build }} --profile ${{ env.BUILD_PROFILE }} --target ${{ matrix.target }} |
163 | 163 | --bin ${{ env.CARGO_BIN_NAME }} --features ${{ matrix.features }} |
164 | 164 | - name: Upload artifacts |
165 | 165 | uses: actions/upload-artifact@v4 |
@@ -226,7 +226,7 @@ jobs: |
226 | 226 | key: ${{ matrix.target }} |
227 | 227 | - name: Cargo build |
228 | 228 | run: > |
229 | | - cargo ${{ matrix.build }} --profile ${{ env.BUILD_PROFILE }} --target ${{ matrix.target }} |
| 229 | + cargo ${{ matrix.build }} --profile ${{ env.BUILD_PROFILE }} --target ${{ matrix.target }} |
230 | 230 | --bin ${{ env.CARGO_BIN_NAME }} --features ${{ matrix.features }} |
231 | 231 | - name: Upload artifacts |
232 | 232 | uses: actions/upload-artifact@v4 |
@@ -258,7 +258,7 @@ jobs: |
258 | 258 | name: Release |
259 | 259 | if: startsWith(github.ref, 'refs/tags/') |
260 | 260 | runs-on: ubuntu-latest |
261 | | - needs: [ build-cli, build-gui ] |
| 261 | + needs: [build-cli, build-gui] |
262 | 262 | permissions: |
263 | 263 | contents: write |
264 | 264 | steps: |
|
0 commit comments