mirror of
https://github.com/yewprint/yewprint
synced 2024-11-29 06:50:36 +00:00
Add a cache step to the CI (#91)
This commit is contained in:
parent
9f1caf44cc
commit
91183bf07b
2 changed files with 2 additions and 0 deletions
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -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:
|
||||||
|
|
1
.github/workflows/pr.yml
vendored
1
.github/workflows/pr.yml
vendored
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue