mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
ci: use installed toolchain to lint Rust
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -36,6 +36,8 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- name: Install rustfmt and clippy
|
- name: Install rustfmt and clippy
|
||||||
run: rustup toolchain install $RUST_VERSION --profile minimal --component rustfmt --component clippy
|
run: rustup toolchain install $RUST_VERSION --profile minimal --component rustfmt --component clippy
|
||||||
|
- run: rustup override set $RUST_VERSION
|
||||||
|
shell: bash
|
||||||
- name: Cache rust cargo artifacts
|
- name: Cache rust cargo artifacts
|
||||||
uses: swatinem/rust-cache@v2
|
uses: swatinem/rust-cache@v2
|
||||||
- name: Run rustfmt
|
- name: Run rustfmt
|
||||||
|
|||||||
Reference in New Issue
Block a user