@@ -22,80 +22,54 @@ jobs:
2222 - uses : actions-rs/toolchain@v1
2323 with :
2424 profile : default
25- toolchain : 1.80 .0
25+ toolchain : 1.81 .0
2626 override : true
2727
2828 - name : Install packages (Linux)
2929 if : runner.os == 'Linux' && false # TODO: enable if eframe is part of the project, otherwise remove
30- uses : awalsh128/cache-apt-pkgs-action@v1.3.0
30+ uses : awalsh128/cache-apt-pkgs-action@v1.4.3
3131 with :
3232 # some deps used by eframe, if that is part of the project
3333 packages : libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev # libgtk-3-dev is used by rfd
3434 version : 1.0
3535 execute_install_scripts : true
3636
37+ - uses : prefix-dev/setup-pixi@v0.8.1
38+ with :
39+ pixi-version : v0.39.0
40+
3741 - name : Set up cargo cache
3842 uses : Swatinem/rust-cache@v2
3943
4044 - name : Rustfmt
41- uses : actions-rs/cargo@v1
42- with :
43- command : fmt
44- args : --all -- --check
45+ run : pixi run cargo fmt --all -- --check
4546
4647 - name : check --all-features
47- uses : actions-rs/cargo@v1
48- with :
49- command : check
50- args : --all-features --all-targets
48+ run : pixi run cargo check --all-features --all-targets
5149
5250 - name : check default features
53- uses : actions-rs/cargo@v1
54- with :
55- command : check
56- args : --all-targets
51+ run : pixi run cargo check --all-targets
5752
5853 - name : check --no-default-features
59- uses : actions-rs/cargo@v1
60- with :
61- command : check
62- args : --no-default-features --lib --all-targets
54+ run : pixi run cargo check --no-default-features --all-targets
6355
6456 - name : Test doc-tests
65- uses : actions-rs/cargo@v1
66- with :
67- command : test
68- args : --doc --all-features
57+ run : pixi run cargo test --doc --all-features
6958
7059 - name : cargo doc --lib
71- uses : actions-rs/cargo@v1
72- with :
73- command : doc
74- args : --lib --no-deps --all-features
60+ run : pixi run cargo doc --lib --no-deps --all-features
7561
7662 - name : cargo doc --document-private-items
77- uses : actions-rs/cargo@v1
78- with :
79- command : doc
80- args : --document-private-items --no-deps --all-features
63+ run : pixi run cargo doc --document-private-items --no-deps --all-features
8164
8265 - name : Build tests
83- uses : actions-rs/cargo@v1
84- with :
85- command : test
86- args : --all-features --no-run
66+ run : pixi run cargo build --tests --all-features
8767
8868 - name : Run test
89- uses : actions-rs/cargo@v1
90- with :
91- command : test
92- args : --all-features
69+ run : pixi run cargo test --all-features
9370
9471 - name : Clippy
95- uses : actions-rs/cargo@v1
96- with :
97- command : clippy
98- args : --all-targets --all-features -- -D warnings
72+ run : pixi run cargo clippy --all-targets --all-features -- -D warnings
9973
10074 # ---------------------------------------------------------------------------
10175
0 commit comments