Add a cache step to the CI (#91)

This commit is contained in:
Yohan Boogaert 2021-03-09 11:43:51 +01:00 committed by GitHub
parent 9f1caf44cc
commit 91183bf07b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- run: cargo test --all-features --verbose - run: cargo test --all-features --verbose
site: site:

View file

@ -15,6 +15,7 @@ jobs:
size: ${{ steps.build.outputs.size }} size: ${{ steps.build.outputs.size }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- name: Install wasm-pack - name: Install wasm-pack
run: | run: |
curl -sSL https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-unknown-linux-musl.tar.gz \ curl -sSL https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-unknown-linux-musl.tar.gz \