Use cache in github actions workflow

ci/github-actions
German Lashevich 5 years ago
parent 38a560681a
commit b3b631e65b
No known key found for this signature in database
GPG Key ID: 3446FAE369C9A8B4

@ -9,6 +9,15 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Cache Primes
id: cache-primes
uses: actions/cache@v1
with:
path: target
key: ${{ runner.OS }}-target-${{ github.ref }}
restore-keys: |
${{ runner.OS }}-target-master
${{ runner.OS }}-target-
- name: Build
run: cargo build --verbose
- name: Run tests

Loading…
Cancel
Save