Skip to content

Commit 02321cb

Browse files
committed
update MSRV
1 parent 41d5c77 commit 02321cb

File tree

3 files changed

+110
-14
lines changed

3 files changed

+110
-14
lines changed

.github/workflows/ci-version.yml

Lines changed: 53 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
os:
1717
- ubuntu-latest
1818
toolchain:
19-
- 1.59
2019
- stable
2120
- nightly
2221
target:
@@ -33,7 +32,7 @@ jobs:
3332
sudo apt update
3433
sudo apt install musl-tools
3534
if: matrix.target == 'x86_64-unknown-linux-musl'
36-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3736
- uses: actions-rust-lang/setup-rust-toolchain@v1
3837
with:
3938
toolchain: ${{ matrix.toolchain }}
@@ -49,7 +48,6 @@ jobs:
4948
- macos-latest
5049
- windows-latest
5150
toolchain:
52-
- 1.59
5351
- stable
5452
- nightly
5553
features:
@@ -58,9 +56,59 @@ jobs:
5856
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} (${{ matrix.features }})
5957
runs-on: ${{ matrix.os }}
6058
steps:
61-
- uses: actions/checkout@v3
59+
- uses: actions/checkout@v4
6260
- uses: actions-rust-lang/setup-rust-toolchain@v1
6361
with:
6462
toolchain: ${{ matrix.toolchain }}
6563
- run: cargo test --release ${{ matrix.features }}
66-
- run: cargo doc --release ${{ matrix.features }}
64+
- run: cargo doc --release ${{ matrix.features }}
65+
66+
MSRV-1:
67+
strategy:
68+
fail-fast: false
69+
matrix:
70+
os:
71+
- ubuntu-latest
72+
toolchain:
73+
- 1.63
74+
target:
75+
- x86_64-unknown-linux-gnu
76+
- x86_64-unknown-linux-musl
77+
features:
78+
-
79+
- --features json
80+
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} to ${{ matrix.target }} (${{ matrix.features }})
81+
runs-on: ${{ matrix.os }}
82+
steps:
83+
- name: Install musl-tools (Linux)
84+
run: |
85+
sudo apt update
86+
sudo apt install musl-tools
87+
if: matrix.target == 'x86_64-unknown-linux-musl'
88+
- uses: actions/checkout@v4
89+
- uses: actions-rust-lang/setup-rust-toolchain@v1
90+
with:
91+
toolchain: ${{ matrix.toolchain }}
92+
target: ${{ matrix.target }}
93+
- run: cargo test --release --lib --bins --target ${{ matrix.target }} ${{ matrix.features }}
94+
95+
MSRV-2:
96+
strategy:
97+
fail-fast: false
98+
matrix:
99+
os:
100+
- macos-latest
101+
- windows-latest
102+
toolchain:
103+
- 1.63
104+
features:
105+
-
106+
- --features json
107+
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} (${{ matrix.features }})
108+
runs-on: ${{ matrix.os }}
109+
steps:
110+
- uses: actions/checkout@v4
111+
- uses: actions-rust-lang/setup-rust-toolchain@v1
112+
with:
113+
toolchain: ${{ matrix.toolchain }}
114+
- run: cargo test --release --lib --bins ${{ matrix.features }}

.github/workflows/ci.yml

Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
rustfmt:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- uses: actions-rust-lang/setup-rust-toolchain@v1
1414
with:
1515
toolchain: nightly
@@ -19,7 +19,7 @@ jobs:
1919
clippy:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- uses: actions-rust-lang/setup-rust-toolchain@v1
2424
with:
2525
components: clippy
@@ -32,7 +32,6 @@ jobs:
3232
os:
3333
- ubuntu-latest
3434
toolchain:
35-
- 1.59
3635
- stable
3736
- nightly
3837
target:
@@ -49,7 +48,7 @@ jobs:
4948
sudo apt update
5049
sudo apt install musl-tools
5150
if: matrix.target == 'x86_64-unknown-linux-musl'
52-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@v4
5352
- uses: actions-rust-lang/setup-rust-toolchain@v1
5453
with:
5554
toolchain: ${{ matrix.toolchain }}
@@ -65,7 +64,6 @@ jobs:
6564
- macos-latest
6665
- windows-latest
6766
toolchain:
68-
- 1.59
6967
- stable
7068
- nightly
7169
features:
@@ -74,9 +72,59 @@ jobs:
7472
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} (${{ matrix.features }})
7573
runs-on: ${{ matrix.os }}
7674
steps:
77-
- uses: actions/checkout@v3
75+
- uses: actions/checkout@v4
7876
- uses: actions-rust-lang/setup-rust-toolchain@v1
7977
with:
8078
toolchain: ${{ matrix.toolchain }}
8179
- run: cargo test ${{ matrix.features }}
82-
- run: cargo doc ${{ matrix.features }}
80+
- run: cargo doc ${{ matrix.features }}
81+
82+
MSRV-1:
83+
strategy:
84+
fail-fast: false
85+
matrix:
86+
os:
87+
- ubuntu-latest
88+
toolchain:
89+
- 1.63
90+
target:
91+
- x86_64-unknown-linux-gnu
92+
- x86_64-unknown-linux-musl
93+
features:
94+
-
95+
- --features json
96+
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} to ${{ matrix.target }} (${{ matrix.features }})
97+
runs-on: ${{ matrix.os }}
98+
steps:
99+
- name: Install musl-tools (Linux)
100+
run: |
101+
sudo apt update
102+
sudo apt install musl-tools
103+
if: matrix.target == 'x86_64-unknown-linux-musl'
104+
- uses: actions/checkout@v4
105+
- uses: actions-rust-lang/setup-rust-toolchain@v1
106+
with:
107+
toolchain: ${{ matrix.toolchain }}
108+
target: ${{ matrix.target }}
109+
- run: cargo test --lib --bins --target ${{ matrix.target }} ${{ matrix.features }}
110+
111+
MSRV-2:
112+
strategy:
113+
fail-fast: false
114+
matrix:
115+
os:
116+
- macos-latest
117+
- windows-latest
118+
toolchain:
119+
- 1.63
120+
features:
121+
-
122+
- --features json
123+
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} (${{ matrix.features }})
124+
runs-on: ${{ matrix.os }}
125+
steps:
126+
- uses: actions/checkout@v4
127+
- uses: actions-rust-lang/setup-rust-toolchain@v1
128+
with:
129+
toolchain: ${{ matrix.toolchain }}
130+
- run: cargo test --lib --bins ${{ matrix.features }}

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "wait-service"
3-
version = "0.2.7"
3+
version = "0.2.8"
44
authors = ["Magic Len <len@magiclen.org>"]
55
edition = "2021"
6-
rust-version = "1.59"
6+
rust-version = "1.63"
77
repository = "https://github.com/magiclen/wait-service"
88
homepage = "https://magiclen.org/wait-service"
99
keywords = ["wait-for-it", "tcp", "unix", "socket", "uds"]

0 commit comments

Comments
 (0)