File tree Expand file tree Collapse file tree 4 files changed +28
-28
lines changed Expand file tree Collapse file tree 4 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -249,13 +249,13 @@ jobs:
249249 - name : Build release
250250 run : cargo build --release --workspace
251251
252- # Cross-platform testing
253- test-cross-platform :
254- name : Test (${{ matrix.os }}, ${{ matrix.rust }})
255- runs-on : ${{ matrix.os }}
256- needs : [preflight, build]
257- if : needs.preflight.outputs.has_changes == 'true'
258- strategy :
252+ # Cross-platform testing
253+ test-cross-platform :
254+ name : Test (${{ matrix.os }}, ${{ matrix.rust }})
255+ runs-on : ${{ matrix.os }}
256+ needs : [preflight, build]
257+ if : needs.preflight.outputs.has_changes == 'true'
258+ strategy :
259259 matrix :
260260 os : [ubuntu-latest, windows-latest, macos-latest]
261261 rust : [stable]
Original file line number Diff line number Diff line change @@ -97,27 +97,27 @@ preflight:
9797
9898 - name : Install Rust
9999 uses : dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6
100- with :
101- components : rustfmt, clippy
100+ with :
101+ components : rustfmt, clippy
102102
103- - name : Cache cargo registry
104- uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
105- with :
103+ - name : Cache cargo registry
104+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
105+ with :
106106 path : |
107107 ~/.cargo/registry
108108 ~/.cargo/git
109109 key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
110110 restore-keys : |
111111 ${{ runner.os }}-cargo-registry-
112112
113- - name : Check formatting
114- run : cargo fmt --all -- --check
113+ - name : Check formatting
114+ run : cargo fmt --all -- --check
115115
116- - name : Run clippy
117- run : cargo clippy --all-targets --all-features -- -D warnings
116+ - name : Run clippy
117+ run : cargo clippy --all-targets --all-features -- -D warnings
118118
119- - name : Check workspace integrity
120- run : cargo check --workspace --all-targets
119+ - name : Check workspace integrity
120+ run : cargo check --workspace --all-targets
121121
122122 # Parallel build with sccache
123123 build :
Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ jobs:
7070 cargo test --benches --workspace || echo "No bench tests available"
7171 fi
7272
73- - name : Upload benchmark results
74- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
75- with :
76- name : benchmark-results
77- path : target/criterion/
73+ - name : Upload benchmark results
74+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
75+ with :
76+ name : benchmark-results
77+ path : target/criterion/
7878
7979 performance-regression :
8080 name : Performance Regression Check
Original file line number Diff line number Diff line change @@ -170,11 +170,11 @@ jobs:
170170
171171 - uses : ./.github/actions/setup-rust
172172
173- - name : Apply version synchronization
174- id : sync
175- env :
176- TARGET_VERSION : ${{ needs.analyze-versions.outputs.target_version }}
177- run : |
173+ - name : Apply version synchronization
174+ id : sync
175+ env :
176+ TARGET_VERSION : ${{ needs.analyze-versions.outputs.target_version }}
177+ run : |
178178 TARGET_VERSION="${{ needs.analyze-versions.outputs.target_version }}"
179179 SYNC_STRATEGY="${{ needs.analyze-versions.outputs.sync_strategy }}"
180180
You can’t perform that action at this time.
0 commit comments