1
0
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:
Rob Ede 2023-12-26 04:05:35 +00:00
parent 8049a75d9f
commit 0cb0e28208
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 10 additions and 29 deletions

View File

@ -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

View File

@ -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