1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 21:51:06 +01:00

ci: combine install steps

This commit is contained in:
Rob Ede 2023-12-26 04:03:49 +00:00
parent d28c7db3b3
commit eb977e9aeb
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 6 additions and 14 deletions

View File

@ -56,9 +56,10 @@ jobs:
with:
toolchain: ${{ matrix.version }}
- uses: taiki-e/install-action@v2.22.0
- name: Install cargo-hack and cargo-ci-cache-clean
uses: taiki-e/install-action@v2.22.0
with:
tool: cargo-hack
tool: cargo-hack,cargo-ci-cache-clean
- name: check lib
if: >
@ -99,11 +100,6 @@ jobs:
&& RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-test-linux
"
- 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

View File

@ -58,9 +58,10 @@ jobs:
with:
toolchain: ${{ matrix.version.version }}
- uses: taiki-e/install-action@v2.22.0
- name: Install cargo-hack and cargo-ci-cache-clean
uses: taiki-e/install-action@v2.22.0
with:
tool: cargo-hack
tool: cargo-hack,cargo-ci-cache-clean
- name: Generate Cargo.lock
run: cargo generate-lockfile
@ -115,11 +116,6 @@ jobs:
&& RUSTUP_TOOLCHAIN=${{ matrix.version.version }} cargo ci-test-linux
"
- 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