mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-23 22:51:07 +01:00
ci: fix msrv checks
This commit is contained in:
parent
481cf55414
commit
10bd847177
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -58,24 +58,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.version.version }}
|
toolchain: ${{ matrix.version.version }}
|
||||||
|
|
||||||
- name: Install cargo-hack and cargo-ci-cache-clean
|
- name: Install just, cargo-hack, cargo-ci-cache-clean
|
||||||
uses: taiki-e/install-action@v2.28.1
|
uses: taiki-e/install-action@v2.28.1
|
||||||
with:
|
with:
|
||||||
tool: cargo-hack,cargo-ci-cache-clean
|
tool: just,cargo-hack,cargo-ci-cache-clean
|
||||||
|
|
||||||
- name: Generate Cargo.lock
|
- name: Generate Cargo.lock
|
||||||
run: cargo generate-lockfile
|
run: cargo generate-lockfile
|
||||||
|
|
||||||
- name: workaround MSRV issues
|
- name: workaround MSRV issues
|
||||||
if: matrix.version.name == 'msrv'
|
if: matrix.version.name == 'msrv'
|
||||||
run: |
|
run: just downgrade-msrv
|
||||||
cargo update -p=ahash --precise=0.8.7
|
|
||||||
cargo update -p=ciborium --precise=0.2.1
|
|
||||||
cargo update -p=ciborium-ll --precise=0.2.1
|
|
||||||
cargo update -p=time --precise=0.3.16
|
|
||||||
cargo update -p=clap --precise=4.3.24
|
|
||||||
cargo update -p=clap_lex --precise=0.5.0
|
|
||||||
cargo update -p=anstyle --precise=1.0.2
|
|
||||||
|
|
||||||
- name: check lib
|
- name: check lib
|
||||||
if: >
|
if: >
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
|
resolver = "2"
|
||||||
members = [
|
members = [
|
||||||
"actix-codec",
|
"actix-codec",
|
||||||
"actix-macros",
|
"actix-macros",
|
||||||
@ -12,7 +13,6 @@ members = [
|
|||||||
"local-channel",
|
"local-channel",
|
||||||
"local-waker",
|
"local-waker",
|
||||||
]
|
]
|
||||||
resolver = "2"
|
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
12
justfile
12
justfile
@ -1,6 +1,18 @@
|
|||||||
_list:
|
_list:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
|
# Downgrade dev-dependencies necessary to run MSRV checks/tests.
|
||||||
|
[private]
|
||||||
|
downgrade-msrv:
|
||||||
|
cargo update -p=ahash --precise=0.8.7
|
||||||
|
cargo update -p=ciborium --precise=0.2.1
|
||||||
|
cargo update -p=ciborium-ll --precise=0.2.1
|
||||||
|
cargo update -p=time --precise=0.3.16
|
||||||
|
cargo update -p=clap --precise=4.3.24
|
||||||
|
cargo update -p=clap_lex --precise=0.5.0
|
||||||
|
cargo update -p=anstyle --precise=1.0.2
|
||||||
|
cargo update -p=trybuild --precise=1.0.89
|
||||||
|
|
||||||
# Document crates in workspace.
|
# Document crates in workspace.
|
||||||
doc:
|
doc:
|
||||||
RUSTDOCFLAGS="--cfg=docsrs" cargo +nightly doc --no-deps --workspace --features=rustls,openssl
|
RUSTDOCFLAGS="--cfg=docsrs" cargo +nightly doc --no-deps --workspace --features=rustls,openssl
|
||||||
|
Loading…
Reference in New Issue
Block a user