Skip to content

Commit a533fe9

Browse files
committed
Add CI for linux that includes 1.75 and the latest stable version
Signed-off-by: Michael X. Grey <[email protected]>
1 parent 1a9cdb0 commit a533fe9

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/ci_linux.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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

0 commit comments

Comments
 (0)