diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 0ba33fd..c0297d1 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -19,7 +19,8 @@ jobs: - uses: actions/checkout@v4 - run: ls . && pwd && whoami shell: bash - - uses: actions/cache@v4 + - uses: actions/cache/restore@v4 + id: cargo-cache-restore with: path: | ~/.cargo/ @@ -27,5 +28,9 @@ jobs: - uses: https://github.com/dtolnay/rust-toolchain@stable with: toolchain: nightly - + - uses: actions/cache/save@v4 + with: + path: | + ~/.cargo/ + key: ${{ steps.cargo-cache-restore.outputs.cache-primary-key }} - run: cargo test --all-features \ No newline at end of file