Skip to content

Commit c8f76b5

Browse files
authored
chore: bump deps (#417)
1 parent 3293af6 commit c8f76b5

File tree

3 files changed

+362
-377
lines changed

3 files changed

+362
-377
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[resolver]
2+
incompatible-rust-versions = "fallback"

.github/workflows/rust.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,19 @@ jobs:
5454
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event.pull_request.head.repo.full_name != github.repository
5555
strategy:
5656
matrix:
57-
rust: [stable, nightly, "1.86"] # 1.85 is the MSRV
57+
rust: [stable, nightly, MSRV]
5858
os: [ubuntu-latest, macos-latest, windows-latest]
59+
include:
60+
- rust: stable
61+
version: stable
62+
- rust: nightly
63+
version: nightly
64+
- rust: MSRV
65+
version: "1.86" # MSRV
5966

6067
name: Build & test
6168
runs-on: ${{ matrix.os }}
69+
continue-on-error: ${{ matrix.rust == 'nightly' }}
6270
needs: ["check"]
6371
steps:
6472
- name: Checkout source
@@ -67,7 +75,7 @@ jobs:
6775
- name: Install Rust toolchain
6876
uses: dtolnay/rust-toolchain@master
6977
with:
70-
toolchain: ${{ matrix.rust }}
78+
toolchain: ${{ matrix.version }}
7179

7280
- name: Cache Cargo registry
7381
uses: Swatinem/rust-cache@v2
@@ -84,19 +92,19 @@ jobs:
8492
tool: nextest
8593

8694
- name: Fetch dependencies
87-
run: cargo +${{ matrix.rust }} fetch --locked
95+
run: cargo +${{ matrix.version }} fetch --locked
8896

8997
- name: Build
90-
run: cargo +${{ matrix.rust }} build --all-features --tests
98+
run: cargo +${{ matrix.version }} build --all-features --tests
9199

92100
- name: Test
93-
run: cargo +${{ matrix.rust }} nextest run --all-features
101+
run: cargo +${{ matrix.version }} nextest run --all-features
94102

95103
# Nextest does not support doc tests as in stable Rust
96104
# they are not exposed in the same way as normal tests.
97105
# https://github.com/nextest-rs/nextest/issues/16
98106
- name: Test docs
99-
run: cargo +${{ matrix.rust }} test --all-features --doc
107+
run: cargo +${{ matrix.version }} test --all-features --doc
100108

101109
clippy:
102110
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event.pull_request.head.repo.full_name != github.repository

0 commit comments

Comments
 (0)