Skip to content

Commit 6e27ca0

Browse files
authored
Merge pull request #1214 from TheBlueMatt/2021-12-fix-tokio-msrv-bump
2 parents 064d709 + 01ef55a commit 6e27ca0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ jobs:
4747
- toolchain: 1.41.0
4848
build-no-std: false
4949
- toolchain: 1.45.2
50+
build-net-old-tokio: true
5051
build-net-tokio: true
5152
build-no-std: false
5253
coverage: true
5354
- toolchain: 1.47.0
54-
build-no-std: false
55+
build-no-std: true
5556
runs-on: ${{ matrix.platform }}
5657
steps:
5758
- name: Checkout source code
@@ -62,6 +63,9 @@ jobs:
6263
toolchain: ${{ matrix.toolchain }}
6364
override: true
6465
profile: minimal
66+
- name: Pin tokio to 1.14 for Rust 1.45
67+
if: "matrix.build-net-old-tokio"
68+
run: cargo update -p tokio --precise "1.14.0" --verbose
6569
- name: Build on Rust ${{ matrix.toolchain }} with net-tokio
6670
if: "matrix.build-net-tokio && !matrix.coverage"
6771
run: cargo build --verbose --color always
@@ -271,7 +275,7 @@ jobs:
271275
linting:
272276
runs-on: ubuntu-latest
273277
env:
274-
TOOLCHAIN: 1.45.2
278+
TOOLCHAIN: 1.47.0
275279
steps:
276280
- name: Checkout source code
277281
uses: actions/checkout@v2

0 commit comments

Comments
 (0)