Skip to content

Commit f125552

Browse files
committed
update MSRV
1 parent 0e9ad1d commit f125552

File tree

3 files changed

+49
-5
lines changed

3 files changed

+49
-5
lines changed

.github/workflows/ci-version.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
os:
1717
- ubuntu-latest
1818
toolchain:
19-
- 1.63
2019
- stable
2120
- nightly
2221
target:
@@ -33,4 +32,27 @@ jobs:
3332
toolchain: ${{ matrix.toolchain }}
3433
target: ${{ matrix.target }}
3534
- run: cargo test --release --target ${{ matrix.target }} ${{ matrix.features }}
36-
- run: cargo doc --release --target ${{ matrix.target }} ${{ matrix.features }}
35+
- run: cargo doc --release --target ${{ matrix.target }} ${{ matrix.features }}
36+
37+
MSRV:
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
os:
42+
- ubuntu-latest
43+
toolchain:
44+
- 1.67
45+
target:
46+
- x86_64-unknown-linux-gnu
47+
- x86_64-unknown-linux-musl
48+
features:
49+
-
50+
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} to ${{ matrix.target }} (${{ matrix.features }})
51+
runs-on: ${{ matrix.os }}
52+
steps:
53+
- uses: actions/checkout@v4
54+
- uses: actions-rust-lang/setup-rust-toolchain@v1
55+
with:
56+
toolchain: ${{ matrix.toolchain }}
57+
target: ${{ matrix.target }}
58+
- run: cargo test --release --lib --bins --target ${{ matrix.target }} ${{ matrix.features }}

.github/workflows/ci.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
os:
3333
- ubuntu-latest
3434
toolchain:
35-
- 1.63
3635
- stable
3736
- nightly
3837
target:
@@ -49,4 +48,27 @@ jobs:
4948
toolchain: ${{ matrix.toolchain }}
5049
target: ${{ matrix.target }}
5150
- run: cargo test --target ${{ matrix.target }} ${{ matrix.features }}
52-
- run: cargo doc --target ${{ matrix.target }} ${{ matrix.features }}
51+
- run: cargo doc --target ${{ matrix.target }} ${{ matrix.features }}
52+
53+
MSRV:
54+
strategy:
55+
fail-fast: false
56+
matrix:
57+
os:
58+
- ubuntu-latest
59+
toolchain:
60+
- 1.67
61+
target:
62+
- x86_64-unknown-linux-gnu
63+
- x86_64-unknown-linux-musl
64+
features:
65+
-
66+
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} to ${{ matrix.target }} (${{ matrix.features }})
67+
runs-on: ${{ matrix.os }}
68+
steps:
69+
- uses: actions/checkout@v4
70+
- uses: actions-rust-lang/setup-rust-toolchain@v1
71+
with:
72+
toolchain: ${{ matrix.toolchain }}
73+
target: ${{ matrix.target }}
74+
- run: cargo test --lib --bins --target ${{ matrix.target }} ${{ matrix.features }}

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "mprober"
33
version = "0.11.0-beta.13"
44
authors = ["Magic Len <len@magiclen.org>"]
55
edition = "2021"
6-
rust-version = "1.63"
6+
rust-version = "1.67"
77
repository = "https://github.com/magiclen/m-prober"
88
homepage = "https://magiclen.org/m-prober"
99
keywords = ["probe", "mprober", "m-prober", "linux", "monitor"]

0 commit comments

Comments
 (0)