Skip to content

Commit cf2b4e2

Browse files
ci.yml: Add a MSRV job
Signed-off-by: Tomás González <[email protected]>
1 parent ce9ab8b commit cf2b4e2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

+18
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
11+
- name: Install latest Rust
12+
uses: actions-rust-lang/setup-rust-toolchain@v1
13+
with:
14+
toolchain: stable
15+
rustflags: ""
16+
- name: Execute all tests
17+
run: ./tests/ci.sh
18+
19+
build-msrv:
20+
name: MSRV - Build and check formatting
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Install Rust MSRV
25+
uses: actions-rust-lang/setup-rust-toolchain@v1
26+
with:
27+
toolchain: 1.66.0
28+
rustflags: ""
1129
- name: Execute all tests
1230
run: ./tests/ci.sh
1331

0 commit comments

Comments
 (0)