mirror of https://github.com/actions/cache.git
Set CARGO_INCREMENTAL to 0 in examples
This speeds up builds unless the target directory is also cached. Conveniently, the simple example which features such caching omits the build step.
This commit is contained in:
parent
8d9c7e9644
commit
15978f289c
|
@ -531,6 +531,8 @@ jobs:
|
||||||
|
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
env:
|
||||||
|
CARGO_INCREMENTAL: 0
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --locked
|
args: --locked
|
||||||
|
@ -597,6 +599,8 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
env:
|
||||||
|
CARGO_INCREMENTAL: 0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue