mirror of
https://github.com/veeso/termscp.git
synced 2026-04-01 15:52:26 -07:00
ci: check fmt with nightly toolchain
This commit is contained in:
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
@@ -22,6 +22,12 @@ jobs:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Install dependencies
|
||||
run: sudo apt update && sudo apt install -y libdbus-1-dev libsmbclient-dev
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: nightly
|
||||
components: rustfmt, clippy
|
||||
- name: Format
|
||||
run: cargo +nightly fmt --all -- --check
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
@@ -31,7 +37,5 @@ jobs:
|
||||
with:
|
||||
command: test
|
||||
args: --no-default-features --features github-actions --no-fail-fast
|
||||
- name: Format
|
||||
run: cargo fmt --all -- --check
|
||||
- name: Clippy
|
||||
run: cargo clippy -- -Dwarnings
|
||||
|
||||
Reference in New Issue
Block a user