diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5d70143..94a011c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Cache build + uses: Swatinem/rust-cache@v2 - name: Publish to crates.io run: cargo publish env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5aab85d..22dd315 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,8 @@ jobs: toolchain: nightly components: miri, clippy override: true + - name: Cache build + uses: Swatinem/rust-cache@v2 - name: Lint code run: cargo clippy - name: Run tests