File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Rust Minimal
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+ schedule :
9
+ # Run the CI at 01:22 UTC every Tuesday
10
+ # We pick an arbitrary time outside of most of the world's work hours
11
+ # to minimize the likelihood of running alongside a heavy workload.
12
+ - cron : ' 22 1 * * 2'
13
+
14
+ env :
15
+ CARGO_TERM_COLOR : always
16
+
17
+ jobs :
18
+ build :
19
+ runs-on : ubuntu-latest
20
+
21
+ strategy :
22
+ matrix :
23
+ rust-version : [stable, 1.75]
24
+
25
+ steps :
26
+ - uses : actions/checkout@v4
27
+
28
+ - name : Setup rust
29
+ run : rustup default ${{ matrix.rust-version }}
30
+
31
+ - name : Test default features
32
+ run : cargo test --workspace
33
+
34
+ - name : Test with serde
35
+ run : cargo test --workspace -F=serde
36
+
37
+ - name : Build docs
38
+ run : cargo doc --all-features
You can’t perform that action at this time.
0 commit comments