Commit 7d47b29 1 parent 027c7a4 commit 7d47b29 Copy full SHA for 7d47b29
File tree 1 file changed +37
-1
lines changed
1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change 14
14
- cron : " 0 0 * * 0"
15
15
16
16
jobs :
17
+ check :
18
+ name : Check
19
+ runs-on : ${{ matrix.os }}
20
+ strategy :
21
+ matrix :
22
+ target :
23
+ - x86_64-unknown-linux-gnu
24
+ - aarch64-apple-darwin
25
+ - x86_64-pc-windows-msvc
26
+ toolchain :
27
+ - 1.74.0 # MSRV
28
+ - stable
29
+ include :
30
+ - target : x86_64-unknown-linux-gnu
31
+ os : ubuntu-22.04
32
+ - target : aarch64-apple-darwin
33
+ os : macos-14
34
+ - target : x86_64-pc-windows-msvc
35
+ os : windows-2022
36
+ steps :
37
+ - name : Checkout code
38
+ uses : actions/checkout@v4
39
+ - name : Setup Rust toolchain
40
+ uses : dtolnay/rust-toolchain@v1
41
+ with :
42
+ toolchain : ${{ matrix.toolchain }}
43
+ targets : ${{ matrix.target }}
44
+ - name : Cache build artifacts
45
+ uses : Swatinem/rust-cache@v2.7.5
46
+ with :
47
+ key : ${{ matrix.target }}
48
+ - name : Check a package
49
+ run : cargo check --target ${{ matrix.target }}
50
+ - name : Check a package (no default features)
51
+ run : cargo check --target ${{ matrix.target }} --no-default-features
52
+
17
53
test :
18
54
name : Test
19
55
runs-on : ${{ matrix.os }}
24
60
- aarch64-apple-darwin
25
61
- x86_64-pc-windows-msvc
26
62
toolchain :
27
- - 1.74.0 # MSRV
63
+ - 1.74.0
28
64
- stable
29
65
include :
30
66
- target : x86_64-unknown-linux-gnu
You can’t perform that action at this time.
0 commit comments