Move cache to before running build

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

@ -16,13 +16,13 @@ jobs:
steps:
- 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: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

Loading…
Cancel
Save