mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
Pin tokio to 1.14.0 in CI for older rustc's
This commit is contained in:
parent
88a86d126f
commit
144145e4f9
1 changed files with 5 additions and 1 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -47,6 +47,7 @@ jobs:
|
|||
- toolchain: 1.41.0
|
||||
build-no-std: false
|
||||
- toolchain: 1.45.2
|
||||
build-net-old-tokio: true
|
||||
build-net-tokio: true
|
||||
build-no-std: false
|
||||
coverage: true
|
||||
|
@ -62,6 +63,9 @@ jobs:
|
|||
toolchain: ${{ matrix.toolchain }}
|
||||
override: true
|
||||
profile: minimal
|
||||
- name: Pin tokio to 1.14 for Rust 1.45
|
||||
if: "matrix.build-net-old-tokio"
|
||||
run: cargo update -p tokio --precise "1.14.0" --verbose
|
||||
- name: Build on Rust ${{ matrix.toolchain }} with net-tokio
|
||||
if: "matrix.build-net-tokio && !matrix.coverage"
|
||||
run: cargo build --verbose --color always
|
||||
|
@ -271,7 +275,7 @@ jobs:
|
|||
linting:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
TOOLCHAIN: 1.45.2
|
||||
TOOLCHAIN: 1.47.0
|
||||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v2
|
||||
|
|
Loading…
Add table
Reference in a new issue