Add Rust CI workflow for build and test processes
Some checks failed
Rust CI / build-test (push) Failing after 1m22s
Some checks failed
Rust CI / build-test (push) Failing after 1m22s
This commit is contained in:
@@ -25,6 +25,11 @@ jobs:
|
|||||||
target
|
target
|
||||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
|
- name: Install Rust components
|
||||||
|
run: |
|
||||||
|
rustup component add rustfmt
|
||||||
|
rustup component add clippy
|
||||||
|
|
||||||
- name: Format (check)
|
- name: Format (check)
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
|
|
||||||
Reference in New Issue
Block a user