mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
ci: combine install steps
This commit is contained in:
parent
8049a75d9f
commit
0cb0e28208
21
.github/workflows/ci-post-merge.yml
vendored
21
.github/workflows/ci-post-merge.yml
vendored
@ -35,9 +35,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
|
|
||||||
- uses: taiki-e/install-action@v2.23.1
|
- name: Install cargo-hack and cargo-ci-cache-clean
|
||||||
|
uses: taiki-e/install-action@v2.23.1
|
||||||
with:
|
with:
|
||||||
tool: cargo-hack
|
tool: cargo-hack,cargo-ci-cache-clean
|
||||||
|
|
||||||
- name: check minimal
|
- name: check minimal
|
||||||
run: cargo ci-min
|
run: cargo ci-min
|
||||||
@ -52,15 +53,9 @@ jobs:
|
|||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
run: cargo ci-test
|
run: cargo ci-test
|
||||||
|
|
||||||
- name: Install cargo-ci-cache-clean
|
|
||||||
uses: taiki-e/install-action@v2.23.2
|
|
||||||
with:
|
|
||||||
tool: cargo-ci-cache-clean
|
|
||||||
|
|
||||||
- name: CI cache clean
|
- name: CI cache clean
|
||||||
run: cargo-ci-cache-clean
|
run: cargo-ci-cache-clean
|
||||||
|
|
||||||
|
|
||||||
build_and_test_other_nightly:
|
build_and_test_other_nightly:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -81,9 +76,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
|
|
||||||
- uses: taiki-e/install-action@v2.23.1
|
- name: Install cargo-hack and cargo-ci-cache-clean
|
||||||
|
uses: taiki-e/install-action@v2.23.1
|
||||||
with:
|
with:
|
||||||
tool: cargo-hack
|
tool: cargo-hack,cargo-ci-cache-clean
|
||||||
|
|
||||||
- name: check minimal
|
- name: check minimal
|
||||||
run: cargo ci-min
|
run: cargo ci-min
|
||||||
@ -98,10 +94,5 @@ jobs:
|
|||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
run: cargo ci-test --exclude=actix-redis --exclude=actix-session --exclude=actix-limitation -- --nocapture
|
run: cargo ci-test --exclude=actix-redis --exclude=actix-session --exclude=actix-limitation -- --nocapture
|
||||||
|
|
||||||
- name: Install cargo-ci-cache-clean
|
|
||||||
uses: taiki-e/install-action@v2.23.2
|
|
||||||
with:
|
|
||||||
tool: cargo-ci-cache-clean
|
|
||||||
|
|
||||||
- name: CI cache clean
|
- name: CI cache clean
|
||||||
run: cargo-ci-cache-clean
|
run: cargo-ci-cache-clean
|
||||||
|
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -48,10 +48,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.version.version }}
|
toolchain: ${{ matrix.version.version }}
|
||||||
|
|
||||||
- name: Install cargo-hack
|
- name: Install cargo-hack and cargo-ci-cache-clean
|
||||||
uses: taiki-e/install-action@v2.23.1
|
uses: taiki-e/install-action@v2.23.1
|
||||||
with:
|
with:
|
||||||
tool: cargo-hack
|
tool: cargo-hack,cargo-ci-cache-clean
|
||||||
|
|
||||||
# - name: workaround MSRV issues
|
# - name: workaround MSRV issues
|
||||||
# if: matrix.version.name == 'msrv'
|
# if: matrix.version.name == 'msrv'
|
||||||
@ -71,11 +71,6 @@ jobs:
|
|||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
run: cargo ci-test
|
run: cargo ci-test
|
||||||
|
|
||||||
- name: Install cargo-ci-cache-clean
|
|
||||||
uses: taiki-e/install-action@v2.23.2
|
|
||||||
with:
|
|
||||||
tool: cargo-ci-cache-clean
|
|
||||||
|
|
||||||
- name: CI cache clean
|
- name: CI cache clean
|
||||||
run: cargo-ci-cache-clean
|
run: cargo-ci-cache-clean
|
||||||
|
|
||||||
@ -102,10 +97,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.version.version }}
|
toolchain: ${{ matrix.version.version }}
|
||||||
|
|
||||||
- name: Install cargo-hack
|
- name: Install cargo-hack and cargo-ci-cache-clean
|
||||||
uses: taiki-e/install-action@v2.23.1
|
uses: taiki-e/install-action@v2.23.1
|
||||||
with:
|
with:
|
||||||
tool: cargo-hack
|
tool: cargo-hack,cargo-ci-cache-clean
|
||||||
|
|
||||||
# - name: workaround MSRV issues
|
# - name: workaround MSRV issues
|
||||||
# if: matrix.version.name == 'msrv'
|
# if: matrix.version.name == 'msrv'
|
||||||
@ -125,11 +120,6 @@ jobs:
|
|||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
run: cargo ci-test --exclude=actix-redis --exclude=actix-session --exclude=actix-limitation
|
run: cargo ci-test --exclude=actix-redis --exclude=actix-session --exclude=actix-limitation
|
||||||
|
|
||||||
- name: Install cargo-ci-cache-clean
|
|
||||||
uses: taiki-e/install-action@v2.23.2
|
|
||||||
with:
|
|
||||||
tool: cargo-ci-cache-clean
|
|
||||||
|
|
||||||
- name: CI cache clean
|
- name: CI cache clean
|
||||||
run: cargo-ci-cache-clean
|
run: cargo-ci-cache-clean
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user