File tree Expand file tree Collapse file tree 1 file changed +0
-40
lines changed Expand file tree Collapse file tree 1 file changed +0
-40
lines changed Original file line number Diff line number Diff line change @@ -3,46 +3,6 @@ name: Continuous Integration Checks
33on : [ push, pull_request ]
44
55jobs :
6- build :
7- strategy :
8- matrix :
9- platform : [
10- ubuntu-latest,
11- macos-latest,
12- ]
13- toolchain :
14- [ stable,
15- beta,
16- 1.75.0, # MSRV
17- ]
18- include :
19- - toolchain : stable
20- check-fmt : true
21- - toolchain : 1.75.0
22- msrv : true
23- runs-on : ${{ matrix.platform }}
24- steps :
25- - name : Checkout source code
26- uses : actions/checkout@v3
27- - name : Install Rust ${{ matrix.toolchain }} toolchain
28- run : |
29- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
30- rustup override set ${{ matrix.toolchain }}
31- - name : Check formatting
32- if : matrix.check-fmt
33- run : rustup component add rustfmt && cargo fmt --all -- --check
34- - name : Pin packages to allow for MSRV
35- if : matrix.msrv
36- run : |
37- cargo update -p home --precise "0.5.9" --verbose # home v0.5.11 requires rustc 1.81 or newer
38- - name : Build on Rust ${{ matrix.toolchain }}
39- run : cargo build --verbose --color always
40- - name : Test on Rust ${{ matrix.toolchain }}
41- run : cargo test
42- - name : Cargo check release on Rust ${{ matrix.toolchain }}
43- run : cargo check --release
44- - name : Cargo check doc on Rust ${{ matrix.toolchain }}
45- run : cargo doc --release
466 check-flake :
477 name : Check Nix Flake
488 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments