1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-24 12:39:16 +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 - 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