1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-28 15:09:15 +01:00

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:
Mikhail Zabaluev 2020-06-13 07:03:49 +03:00
parent 8d9c7e9644
commit 15978f289c

View file

@ -531,6 +531,8 @@ jobs:
- name: Build and test
uses: actions-rs/cargo@v1
env:
CARGO_INCREMENTAL: 0
with:
command: test
args: --locked
@ -597,6 +599,8 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
CARGO_INCREMENTAL: 0
steps:
- uses: actions/checkout@v2