Add cache to rust build task

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/1/head
trivernis 4 years ago
parent 5baedcc0af
commit 5fed0068b8
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -18,5 +18,11 @@ jobs:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Cache build data
uses: actions/cache@v2
with:
path: |
target/**/build
target/**/deps
- name: Run tests
run: cargo test --verbose

Loading…
Cancel
Save