@@ -13,81 +13,53 @@ jobs:
1313 strategy :
1414 matrix :
1515 os : [ubuntu-latest, windows-latest, macOS-latest]
16- rust : [stable]
1716 steps :
18- - uses : actions/checkout@v4
19- - uses : actions/setup-python@v5
17+ - uses : actions/checkout@v5
18+ - uses : actions/setup-python@v6
2019 with :
21- python-version : " 3.11 "
20+ python-version : " 3.13 "
2221 - name : Remove cargo config (macOS ring crate fix)
2322 if : runner.os == 'macOS'
2423 run : rm -f .cargo/config.toml
25- - uses : actions-rs/toolchain@v1
26- with :
27- profile : minimal
28- toolchain : ${{ matrix.rust }}
29- override : true
30- - uses : actions-rs/cargo@v1
31- with :
32- command : check
33- args : --workspace
24+ - uses : dtolnay/rust-toolchain@stable
25+ - run : cargo check --workspace
3426
3527 test :
3628 name : Test Suite
3729 runs-on : ${{ matrix.os }}
3830 strategy :
3931 matrix :
4032 os : [ubuntu-latest, windows-latest, macOS-latest]
41- rust : [stable]
4233 steps :
4334 - name : Delete huge unnecessary tools folder
4435 if : runner.os == 'Linux'
4536 run : rm -rf /opt/hostedtoolcache
46- - uses : actions/checkout@v4
47- - uses : actions/setup-python@v5
37+ - uses : actions/checkout@v5
38+ - uses : actions/setup-python@v6
4839 with :
49- python-version : " 3.11 "
40+ python-version : " 3.13 "
5041 - name : Remove cargo config (macOS ring crate fix)
5142 if : runner.os == 'macOS'
5243 run : rm -f .cargo/config.toml
53- - uses : actions-rs/toolchain@v1
54- with :
55- profile : minimal
56- toolchain : ${{ matrix.rust }}
57- override : true
58- - uses : actions-rs/cargo@v1
59- with :
60- command : test
61- args : --workspace
44+ - uses : dtolnay/rust-toolchain@stable
45+ - run : cargo test --workspace
6246
6347 fmt :
6448 name : Rustfmt
6549 runs-on : ubuntu-latest
6650 steps :
67- - uses : actions/checkout@v4
68- - uses : actions-rs/ toolchain@v1
51+ - uses : actions/checkout@v5
52+ - uses : dtolnay/rust- toolchain@stable
6953 with :
70- profile : minimal
71- toolchain : stable
72- override : true
73- - run : rustup component add rustfmt
74- - uses : actions-rs/cargo@v1
75- with :
76- command : fmt
77- args : --all -- --check
54+ components : rustfmt
55+ - run : cargo fmt --all -- --check
7856
7957 clippy :
8058 name : Clippy
8159 runs-on : ubuntu-latest
8260 steps :
8361 - uses : actions/checkout@v4
84- - uses : actions-rs/toolchain@v1
85- with :
86- profile : minimal
87- toolchain : stable
88- override : true
89- - run : rustup component add clippy
90- - uses : actions-rs/cargo@v1
62+ - uses : dtolnay/rust-toolchain@stable
9163 with :
92- command : clippy
93- args : --workspace --tests --examples --benches -- -D warnings
64+ components : clippy
65+ - run : cargo clippy --workspace --tests --examples --benches -- -D warnings
0 commit comments