Skip to content

Commit 2d846cb

Browse files
committed
chore: fix MSRV build
1 parent 0a22e36 commit 2d846cb

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
fail-fast: false
100100
matrix:
101-
toolchain: [ 1.75.0, stable, beta, nightly ]
101+
toolchain: [ 1.81.0, stable, beta, nightly ]
102102
os: [ ubuntu, macos, windows ]
103103
ignore-lock: [ false, true ]
104104
all-features: [ false, true ]
@@ -109,7 +109,7 @@ jobs:
109109
- toolchain: nightly
110110
experimental: true
111111
exclude:
112-
- toolchain: 1.75.0
112+
- toolchain: 1.81.0
113113
ignore-lock: true
114114
runs-on: ${{ matrix.os }}-latest
115115
continue-on-error: ${{ matrix.experimental }}
@@ -158,13 +158,13 @@ jobs:
158158
- name: Install Rust
159159
uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1.11.0
160160
with:
161-
toolchain: 1.75.0
161+
toolchain: stable
162162
cache: false
163163

164164
- name: Rust Cache
165165
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
166166
with:
167-
prefix-key: v2-rust
167+
prefix-key: v3-rust
168168
cache-targets: false
169169
cache-on-failure: true
170170

justfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ target_tuple_flag := if target_tuple != "" { "--target " + target_tuple } else {
2020
release := "false"
2121
release_flag := if release == "true" { "--release" } else { "" }
2222

23-
# Note: there seems to be an issue in `cargo-tarpaulin` when using Rust 1.75.0 or later - it reports some missing line coverage.
24-
# I've entered an issue: https://github.com/xd009642/tarpaulin/issues/1438
25-
# In the meantime, let's pin the Rust version used for code coverage to 1.74.1 until we know what's happening.
26-
cargo_tarpaulin := tool + (if toolchain != "" { " +" + toolchain } else { " +1.74.1" }) + " tarpaulin"
23+
cargo_tarpaulin := tool + " tarpaulin"
2724

2825
[private]
2926
default:

0 commit comments

Comments
 (0)