mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
CI: Cache cargo-deny (#32543)
Use the `cargo-install` action to cache the cargo-deny output. `cargo-deny` is currently unconditionally installed during bootstrap, and takes around 2 minutes to install, so caching should give a significant speedup Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
This commit is contained in:
parent
4a7f3bac7c
commit
1d2949f2b3
5 changed files with 25 additions and 0 deletions
5
.github/workflows/android.yml
vendored
5
.github/workflows/android.yml
vendored
|
@ -48,6 +48,11 @@ jobs:
|
|||
with:
|
||||
crate: taplo-cli
|
||||
locked: true
|
||||
- name: Install cargo-deny
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: cargo-deny
|
||||
locked: true
|
||||
- name: Bootstrap Python
|
||||
run: python3 -m pip install --upgrade pip virtualenv
|
||||
- name: Bootstrap dependencies
|
||||
|
|
5
.github/workflows/linux.yml
vendored
5
.github/workflows/linux.yml
vendored
|
@ -96,6 +96,11 @@ jobs:
|
|||
with:
|
||||
crate: taplo-cli
|
||||
locked: true
|
||||
- name: Install cargo-deny
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: cargo-deny
|
||||
locked: true
|
||||
- name: Bootstrap Python
|
||||
run: python3 -m pip install --upgrade pip
|
||||
- name: Bootstrap dependencies
|
||||
|
|
5
.github/workflows/mac.yml
vendored
5
.github/workflows/mac.yml
vendored
|
@ -84,6 +84,11 @@ jobs:
|
|||
with:
|
||||
crate: taplo-cli
|
||||
locked: true
|
||||
- name: Install cargo-deny
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: cargo-deny
|
||||
locked: true
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip
|
||||
|
|
5
.github/workflows/ohos.yml
vendored
5
.github/workflows/ohos.yml
vendored
|
@ -49,6 +49,11 @@ jobs:
|
|||
with:
|
||||
crate: taplo-cli
|
||||
locked: true
|
||||
- name: Install cargo-deny
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: cargo-deny
|
||||
locked: true
|
||||
- name: Bootstrap Python
|
||||
run: python3 -m pip install --upgrade pip virtualenv
|
||||
- name: Bootstrap dependencies
|
||||
|
|
5
.github/workflows/windows.yml
vendored
5
.github/workflows/windows.yml
vendored
|
@ -69,6 +69,11 @@ jobs:
|
|||
with:
|
||||
crate: taplo-cli
|
||||
locked: true
|
||||
- name: Install cargo-deny
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: cargo-deny
|
||||
locked: true
|
||||
- name: Install wixtoolset
|
||||
run: |
|
||||
choco install wixtoolset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue