ci(rust): cache cargo build files
Some checks failed
/ lint-n-test (push) Has been cancelled
Some checks failed
/ lint-n-test (push) Has been cancelled
This commit is contained in:
parent
a0d030d26e
commit
5c83c599f0
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ jobs:
|
||||||
- run: curl -sL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
|
- run: curl -sL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: rustup component add rustfmt clippy
|
- run: rustup component add rustfmt clippy
|
||||||
|
- uses: https://github.com/Leafwing-Studios/cargo-cache@v2
|
||||||
- run: cargo fmt -- --check
|
- run: cargo fmt -- --check
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
- run: cargo clippy -- -D warnings
|
- run: cargo clippy -- -D warnings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue