Commit a046cd7 1 parent 5aed99e commit a046cd7 Copy full SHA for a046cd7
File tree 3 files changed +93
-120
lines changed
3 files changed +93
-120
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ workflow_dispatch :
7
+ schedule :
8
+ - cron : ' 0 0 1 * *' # Monthly
9
+
10
+ jobs :
11
+ build :
12
+ strategy :
13
+ fail-fast : false
14
+
15
+ matrix :
16
+ label :
17
+ - Linux
18
+ - Windows
19
+ - macOS
20
+ rust :
21
+ - 1.17.0
22
+ - stable
23
+ - beta
24
+
25
+ include :
26
+ - label : Linux
27
+ os : ubuntu-24.04
28
+
29
+ - label : Windows
30
+ os : windows-2022
31
+
32
+ - label : macOS
33
+ os : macOS-14
34
+
35
+ name : test - ${{ matrix.rust }} - ${{ matrix.label }}
36
+ runs-on : ${{ matrix.os }}
37
+
38
+ steps :
39
+ - uses : actions/checkout@v4
40
+ with :
41
+ show-progress : false
42
+
43
+ - uses : dtolnay/rust-toolchain@master
44
+ with :
45
+ toolchain : ${{ matrix.rust }}
46
+
47
+ - name : Build
48
+ run : cargo build
49
+
50
+ - name : Test
51
+ run : cargo test
52
+
53
+ - name : Build (serde_support)
54
+ run : cargo build --features serde_support
55
+
56
+ - name : Test (serde_support)
57
+ run : cargo test --features serde_support
58
+
59
+ - name : Build (serde_support_test)
60
+ run : cargo build --features serde_support_test
61
+
62
+ - name : Test (serde_support_test)
63
+ run : cargo test --features serde_support_test
64
+
65
+ clippy :
66
+ runs-on : ubuntu-24.04
67
+
68
+ steps :
69
+ - uses : actions/checkout@v4
70
+ with :
71
+ show-progress : false
72
+
73
+ - uses : dtolnay/rust-toolchain@stable
74
+ with :
75
+ components : clippy
76
+
77
+ - name : Run clippy
78
+ run : cargo clippy --all --all-targets
79
+
80
+ rustfmt :
81
+ runs-on : ubuntu-24.04
82
+
83
+ steps :
84
+ - uses : actions/checkout@v4
85
+ with :
86
+ show-progress : false
87
+
88
+ - uses : dtolnay/rust-toolchain@stable
89
+ with :
90
+ components : rustfmt
91
+
92
+ - name : Run rustfmt
93
+ run : cargo fmt --all -- --check
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments