mirror of
https://github.com/actix/actix-extras.git
synced 2025-03-04 06:02:46 +01:00
ci: fix msrv by downgrading native-tls
This commit is contained in:
parent
3f7a479a76
commit
bb0c7f21d9
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -48,15 +48,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.version.version }}
|
toolchain: ${{ matrix.version.version }}
|
||||||
|
|
||||||
- name: Install cargo-hack and cargo-ci-cache-clean
|
- name: Install cargo-hack and cargo-ci-cache-clean, just
|
||||||
uses: taiki-e/install-action@v2.47.32
|
uses: taiki-e/install-action@v2.47.32
|
||||||
with:
|
with:
|
||||||
tool: cargo-hack,cargo-ci-cache-clean
|
tool: cargo-hack,cargo-ci-cache-clean,just
|
||||||
|
|
||||||
# - name: workaround MSRV issues
|
- name: workaround MSRV issues
|
||||||
# if: matrix.version.name == 'msrv'
|
if: matrix.version.name == 'msrv'
|
||||||
# run: |
|
run: just downgrade-for-msrv
|
||||||
# cargo update -p=time:0.3.20 --precise=0.3.16
|
|
||||||
|
|
||||||
- name: check minimal
|
- name: check minimal
|
||||||
run: cargo ci-min
|
run: cargo ci-min
|
||||||
@ -106,15 +105,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.version.version }}
|
toolchain: ${{ matrix.version.version }}
|
||||||
|
|
||||||
- name: Install cargo-hack, cargo-ci-cache-clean
|
- name: Install cargo-hack, cargo-ci-cache-clean, just
|
||||||
uses: taiki-e/install-action@v2.47.32
|
uses: taiki-e/install-action@v2.47.32
|
||||||
with:
|
with:
|
||||||
tool: cargo-hack,cargo-ci-cache-clean
|
tool: cargo-hack,cargo-ci-cache-clean,just
|
||||||
|
|
||||||
# - name: workaround MSRV issues
|
- name: workaround MSRV issues
|
||||||
# if: matrix.version.name == 'msrv'
|
if: matrix.version.name == 'msrv'
|
||||||
# run: |
|
run: just downgrade-for-msrv
|
||||||
# cargo update -p=time:0.3.20 --precise=0.3.16
|
|
||||||
|
|
||||||
- name: check minimal
|
- name: check minimal
|
||||||
run: cargo ci-min
|
run: cargo ci-min
|
||||||
|
9
justfile
9
justfile
@ -45,6 +45,15 @@ test:
|
|||||||
cargo {{ toolchain }} nextest run --workspace --all-features
|
cargo {{ toolchain }} nextest run --workspace --all-features
|
||||||
cargo {{ toolchain }} test --doc --workspace --all-features
|
cargo {{ toolchain }} test --doc --workspace --all-features
|
||||||
|
|
||||||
|
# Downgrade dev-dependencies necessary to run MSRV checks/tests.
|
||||||
|
[private]
|
||||||
|
downgrade-for-msrv:
|
||||||
|
cargo update -p=native-tls --precise=0.2.13
|
||||||
|
|
||||||
|
# Test workspace using MSRV.
|
||||||
|
[group("test")]
|
||||||
|
test-msrv: downgrade-for-msrv (test msrv_rustup)
|
||||||
|
|
||||||
# Test workspace code and docs.
|
# Test workspace code and docs.
|
||||||
[group("test")]
|
[group("test")]
|
||||||
test-all: test test-docs
|
test-all: test test-docs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user