@@ -21,17 +21,20 @@ jobs:
2121 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2222 with :
2323 persist-credentials : false
24+ - name : Install Rust
25+ run : |
26+ rustup update stable
27+ rustup default stable
28+ rustup component add clippy rustfmt
2429 - name : fmt
2530 run : cargo fmt --all -- --check
2631 - name : clippy
2732 run : cargo clippy
2833 - name : tests
2934 run : make tests
30- - name : " Check (crossterm)"
31- uses : actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
32- with :
33- command : test
34- args : --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all --bins --tests --examples
35+ - name : " Test (crossterm)"
36+ run : |
37+ cargo test --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all --bins --tests --examples
3538 - name : benchmarks
3639 run : make bench-ci
3740
@@ -41,18 +44,14 @@ jobs:
4144 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4245 with :
4346 persist-credentials : false
44- - uses : actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
45- with :
46- profile : default
47- toolchain : stable
48- override : true
47+ - name : Install Rust
48+ shell : bash # Use `bash` even on Windows, for `set -e` behavior.
49+ run : |
50+ rustup update stable
51+ rustup default stable
4952 - name : " Check (crossterm)"
50- uses : actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
51- with :
52- command : check
53- args : --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all --bins --tests --examples
53+ run : |
54+ cargo check --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all --bins --tests --examples
5455 - name : " Test (crossterm)"
55- uses : actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
56- with :
57- command : test
58- args : --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all -- --skip render::tui
56+ run : |
57+ cargo test --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all -- --skip render::tui
0 commit comments