@@ -2,9 +2,9 @@ name: Rust
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
7- branches : [ main ]
7+ branches : [main]
88
99env :
1010 CARGO_TERM_COLOR : always
@@ -14,101 +14,101 @@ jobs:
1414 runs-on : ubuntu-24.04
1515
1616 steps :
17- - uses : actions/checkout@v2
17+ - uses : actions/checkout@v2
1818
19- - name : Build (no features enabled)
20- run : cargo build --verbose
19+ - name : Build (no features enabled)
20+ run : cargo build --verbose
2121
22- - name : Build (all features enabled)
23- run : cargo build --verbose --all-features
22+ - name : Build (all features enabled)
23+ run : cargo build --verbose --all-features
2424
2525 Build-Windows :
2626 runs-on : windows-latest
2727
2828 steps :
29- - uses : actions/checkout@v2
29+ - uses : actions/checkout@v2
3030
31- - name : install nasm
32- run : |
33- choco install nasm
34- echo "C:\Program Files\NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
31+ - name : install nasm
32+ run : |
33+ choco install nasm
34+ echo "C:\Program Files\NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
3535
36- - name : Build (no features enabled)
37- run : cargo build --verbose
36+ - name : Build (no features enabled)
37+ run : cargo build --verbose
3838
39- - name : Build (all features enabled)
40- run : cargo build --verbose --all-features
39+ - name : Build (all features enabled)
40+ run : cargo build --verbose --all-features
4141
4242 Build-WASM :
4343 runs-on : ubuntu-24.04
4444
4545 steps :
46- - uses : actions/checkout@v2
46+ - uses : actions/checkout@v2
4747
48- - name : Install target
49- run : |
50- rustup toolchain add 1.88 .0
51- rustup target add --toolchain 1.88 .0 wasm32-wasip1
48+ - name : Install target
49+ run : |
50+ rustup toolchain add 1.89 .0
51+ rustup target add --toolchain 1.89 .0 wasm32-wasip1
5252
53- - name : Build (WASM-compatible features)
54- run : cargo +1.88 .0 build --verbose --target wasm32-wasip1 --no-default-features --features flate2,ring -p russh
53+ - name : Build (WASM-compatible features)
54+ run : cargo +1.89 .0 build --verbose --target wasm32-wasip1 --no-default-features --features flate2,ring -p russh
5555
5656 Formatting :
5757 runs-on : ubuntu-24.04
5858
5959 steps :
60- - uses : actions/checkout@v2
60+ - uses : actions/checkout@v2
6161
62- - name : Install rustfmt
63- run : rustup component add rustfmt
62+ - name : Install rustfmt
63+ run : rustup component add rustfmt
6464
65- - name : rustfmt
66- run : cargo fmt --check
65+ - name : rustfmt
66+ run : cargo fmt --check
6767
6868 Clippy :
6969 runs-on : ubuntu-24.04
7070
7171 steps :
72- - uses : actions/checkout@v2
72+ - uses : actions/checkout@v2
7373
74- - name : Install Clippy
75- run : rustup component add clippy
74+ - name : Install Clippy
75+ run : rustup component add clippy
7676
77- - name : Clippy (no features enabled)
78- run : cargo clippy -- -D warnings
77+ - name : Clippy (no features enabled)
78+ run : cargo clippy -- -D warnings
7979
80- - name : Clippy (all features enabled)
81- run : cargo clippy --all-features -- -D warnings
80+ - name : Clippy (all features enabled)
81+ run : cargo clippy --all-features -- -D warnings
8282
8383 Test :
8484 runs-on : ubuntu-24.04
8585
8686 steps :
87- - uses : actions/checkout@v2
88-
89- - name : Test (no features enabled)
90- run : |
91- eval `ssh-agent`
92- cargo test --verbose
93- env :
94- RUST_BACKTRACE : 1
95-
96- - name : Test (all features enabled)
97- run : |
98- eval `ssh-agent`
99- cargo test --verbose --all-features
100- env :
101- RUST_BACKTRACE : 1
87+ - uses : actions/checkout@v2
88+
89+ - name : Test (no features enabled)
90+ run : |
91+ eval `ssh-agent`
92+ cargo test --verbose
93+ env :
94+ RUST_BACKTRACE : 1
95+
96+ - name : Test (all features enabled)
97+ run : |
98+ eval `ssh-agent`
99+ cargo test --verbose --all-features
100+ env :
101+ RUST_BACKTRACE : 1
102102
103103 Minimal-versions :
104104 runs-on : ubuntu-24.04
105105
106106 steps :
107- - uses : actions/checkout@v2
108- - uses : dtolnay/rust-toolchain@nightly
109- - uses : taiki-e/install-action@cargo-hack
110- - uses : taiki-e/install-action@cargo-minimal-versions
111-
112- - name : Check with minimal dependency versions
113- run : |
114- cargo minimal-versions check --all-features --no-dev-deps
107+ - uses : actions/checkout@v2
108+ - uses : dtolnay/rust-toolchain@nightly
109+ - uses : taiki-e/install-action@cargo-hack
110+ - uses : taiki-e/install-action@cargo-minimal-versions
111+
112+ - name : Check with minimal dependency versions
113+ run : |
114+ cargo minimal-versions check --all-features --no-dev-deps
0 commit comments