mirror of
https://github.com/veeso/termscp.git
synced 2026-06-08 14:18:41 +02: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
|
- uses: actions/checkout@v6
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt update && sudo apt install -y libdbus-1-dev libsmbclient-dev
|
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
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
@@ -31,7 +37,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --no-default-features --features github-actions --no-fail-fast
|
args: --no-default-features --features github-actions --no-fail-fast
|
||||||
- name: Format
|
|
||||||
run: cargo fmt --all -- --check
|
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
run: cargo clippy -- -Dwarnings
|
run: cargo clippy -- -Dwarnings
|
||||||
|
|||||||
Reference in New Issue
Block a user