Install rustfmt before CI format gates
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 9m44s
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 9m44s
This commit is contained in:
@@ -36,7 +36,9 @@ jobs:
|
||||
run: python3 ci/check-runner-image.py
|
||||
|
||||
- name: Check first-party Rust formatting
|
||||
run: cargo fmt -p alkane-gui -p alkane-artifacts -p alkane-flash -p alkane-cli -p alkane-access -- --check
|
||||
run: |
|
||||
rustup component add rustfmt >/dev/null
|
||||
cargo fmt -p alkane-gui -p alkane-artifacts -p alkane-flash -p alkane-cli -p alkane-access -- --check
|
||||
|
||||
|
||||
- name: Compute version
|
||||
|
||||
@@ -51,7 +51,9 @@ jobs:
|
||||
|
||||
- name: Check first-party Rust formatting
|
||||
if: steps.surface.outputs.surface == 'headless' || steps.surface.outputs.surface == 'full'
|
||||
run: cargo fmt -p alkane-gui -p alkane-artifacts -p alkane-flash -p alkane-cli -p alkane-access -- --check
|
||||
run: |
|
||||
rustup component add rustfmt >/dev/null
|
||||
cargo fmt -p alkane-gui -p alkane-artifacts -p alkane-flash -p alkane-cli -p alkane-access -- --check
|
||||
|
||||
|
||||
- name: Check workflow-only change
|
||||
|
||||
Reference in New Issue
Block a user