Skip to content

Commit 0cd0937

Browse files
committed
ci: reorder steps (no real effect.. just perfectionism :D)
1 parent dec03b9 commit 0cd0937

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/_build-rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ jobs:
5656
key: ${{ runner.os }}-rust-${{ inputs.rust-version }}-cargo-${{ hashFiles('**/Cargo.toml') }}
5757
restore-keys: ${{ runner.os }}-cargo-${{ inputs.rust-version }}
5858
- run: cargo version
59-
- name: Code Formatting
60-
if: ${{ inputs.do-style-check }}
61-
run: cargo fmt --all -- --check
6259
- name: Build (library)
6360
run: cargo build --target ${{ inputs.rust-target }}
6461
- name: Build (all targets)
6562
run: cargo build --all-targets
63+
- name: Code Formatting
64+
if: ${{ inputs.do-style-check }}
65+
run: cargo fmt --all -- --check
6666
- name: Code Style and Doc Style
6767
if: ${{ inputs.do-style-check }}
6868
run: |

0 commit comments

Comments
 (0)