mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 15: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:
|
||||
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:
|
||||
tool: cargo-hack
|
||||
tool: cargo-hack,cargo-ci-cache-clean
|
||||
|
||||
- name: check minimal
|
||||
run: cargo ci-min
|
||||
@ -52,15 +53,9 @@ jobs:
|
||||
timeout-minutes: 40
|
||||
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
|
||||
run: cargo-ci-cache-clean
|
||||
|
||||
|
||||
build_and_test_other_nightly:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -81,9 +76,10 @@ jobs:
|
||||
with:
|
||||
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:
|
||||
tool: cargo-hack
|
||||
tool: cargo-hack,cargo-ci-cache-clean
|
||||
|
||||
- name: check minimal
|
||||
run: cargo ci-min
|
||||
@ -98,10 +94,5 @@ jobs:
|
||||
timeout-minutes: 40
|
||||
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
|
||||
run: cargo-ci-cache-clean
|
||||
|
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -48,10 +48,10 @@ jobs:
|
||||
with:
|
||||
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
|
||||
with:
|
||||
tool: cargo-hack
|
||||
tool: cargo-hack,cargo-ci-cache-clean
|
||||
|
||||
# - name: workaround MSRV issues
|
||||
# if: matrix.version.name == 'msrv'
|
||||
@ -71,11 +71,6 @@ jobs:
|
||||
timeout-minutes: 40
|
||||
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
|
||||
run: cargo-ci-cache-clean
|
||||
|
||||
@ -102,10 +97,10 @@ jobs:
|
||||
with:
|
||||
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
|
||||
with:
|
||||
tool: cargo-hack
|
||||
tool: cargo-hack,cargo-ci-cache-clean
|
||||
|
||||
# - name: workaround MSRV issues
|
||||
# if: matrix.version.name == 'msrv'
|
||||
@ -125,11 +120,6 @@ jobs:
|
||||
timeout-minutes: 40
|
||||
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
|
||||
run: cargo-ci-cache-clean
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user