Skip to content

Commit 254145d

Browse files
authored
chore: set msrv to 1.57.0 (result of cargo msrv) (#322)
* Add rust MSRV to CI tests * Run clippy on stable + MSRV * Run 32 bit tests on MSRV Skip tesking MSRV w/valgrind due to issues installing cargo-valgrind. To do this, we'd need to figure out a specific version of that tool. Closes #321
1 parent 7cde3df commit 254145d

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/test32bit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
os: [ubuntu-latest]
1616
rust:
1717
- stable
18+
- 1.57.0
1819
steps:
1920
- name: Cancel Previous Runs
2021
uses: styfle/cancel-workflow-action@0.6.0

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
os: [ubuntu-latest, macos-latest]
1616
rust:
1717
- stable
18+
- 1.57.0
1819
steps:
1920
- name: Cancel Previous Runs
2021
uses: styfle/cancel-workflow-action@0.6.0
@@ -62,12 +63,17 @@ jobs:
6263
clippy:
6364
name: clippy!!
6465
runs-on: ubuntu-latest
66+
strategy:
67+
matrix:
68+
rust:
69+
- stable
70+
- 1.57.0
6571
steps:
6672
- uses: actions/checkout@v2
6773
- uses: actions-rs/toolchain@v1
6874
with:
6975
profile: minimal
70-
toolchain: stable
76+
toolchain: ${{ matrix.rust }}
7177
override: true
7278
- uses: Swatinem/rust-cache@v1
7379
- run: rustup component add clippy

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ description = "rust interface to tskit"
88
license = "MIT"
99
homepage = "https://github.com/tskit-dev/tskit-rust"
1010
repository = "https://github.com/tskit-dev/tskit-rust"
11+
rust-version = "1.57.0"
1112

1213
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1314

0 commit comments

Comments
 (0)