mirror of
https://github.com/fafhrd91/actix-net
synced 2025-02-17 14:43:31 +01:00
ci: combine install steps
This commit is contained in:
parent
d28c7db3b3
commit
eb977e9aeb
10
.github/workflows/ci-post-merge.yml
vendored
10
.github/workflows/ci-post-merge.yml
vendored
@ -56,9 +56,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.version }}
|
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:
|
with:
|
||||||
tool: cargo-hack
|
tool: cargo-hack,cargo-ci-cache-clean
|
||||||
|
|
||||||
- name: check lib
|
- name: check lib
|
||||||
if: >
|
if: >
|
||||||
@ -99,11 +100,6 @@ jobs:
|
|||||||
&& RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-test-linux
|
&& 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
|
- name: CI cache clean
|
||||||
run: cargo-ci-cache-clean
|
run: cargo-ci-cache-clean
|
||||||
|
|
||||||
|
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -58,9 +58,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.version.version }}
|
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:
|
with:
|
||||||
tool: cargo-hack
|
tool: cargo-hack,cargo-ci-cache-clean
|
||||||
|
|
||||||
- name: Generate Cargo.lock
|
- name: Generate Cargo.lock
|
||||||
run: cargo generate-lockfile
|
run: cargo generate-lockfile
|
||||||
@ -115,11 +116,6 @@ jobs:
|
|||||||
&& RUSTUP_TOOLCHAIN=${{ matrix.version.version }} cargo ci-test-linux
|
&& 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
|
- name: CI cache clean
|
||||||
run: cargo-ci-cache-clean
|
run: cargo-ci-cache-clean
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user