Skip to content

Commit 58f0988

Browse files
committed
ci: check MSRV of 1.49
The [email protected] dependency also has a MSRV of 1.49.
1 parent fa92e2b commit 58f0988

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
components: rustfmt
2727
override: true
2828
- run: rustc --version
29-
- run: cargo build --release --all
29+
- run: cargo build --release --workspace
30+
- run: (cd core && cargo build --features=json --release --all-targets)
3031

3132
test:
3233
runs-on: ubuntu-latest
@@ -48,8 +49,26 @@ jobs:
4849
override: true
4950
- run: rustc --version
5051
- run: cargo test --all -- --nocapture
51-
- run: (cd core && cargo test -- --nocapture)
52-
- run: (cd core && cargo test --features=json -- --nocapture)
52+
53+
msrv:
54+
name: Rust ${{matrix.rust}}
55+
runs-on: ubuntu-latest
56+
strategy:
57+
fail-fast: false
58+
matrix:
59+
rust: [1.49.0, 1.50.0]
60+
steps:
61+
- uses: actions/checkout@v2
62+
with:
63+
submodules: true
64+
- uses: actions-rs/toolchain@v1
65+
with:
66+
profile: minimal
67+
toolchain: ${{ matrix.rust }}
68+
components: rustfmt
69+
override: true
70+
- run: rustc --version
71+
- run: cargo build --release --workspace --all-features
5372

5473
formatting:
5574
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)