Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Swatinem/rust-cache
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.0
Choose a base ref
...
head repository: Swatinem/rust-cache
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.1
Choose a head ref
  • 12 commits
  • 18 files changed
  • 5 contributors

Commits on Aug 9, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    90429b3 View commit details

Commits on Sep 4, 2022

  1. Copy the full SHA
    b8d4fa4 View commit details
  2. cargo update

    Swatinem committed Sep 4, 2022
    Copy the full SHA
    213334c View commit details
  3. Copy the full SHA
    be4be37 View commit details
  4. Copy the full SHA
    8653194 View commit details
  5. revert explicit dir close

    Swatinem committed Sep 4, 2022
    Copy the full SHA
    0d72e5f View commit details
  6. bump cargo hash

    Swatinem committed Sep 4, 2022
    Copy the full SHA
    20b9201 View commit details

Commits on Sep 19, 2022

  1. Copy the full SHA
    1b43d2f View commit details
  2. Copy the full SHA
    76686c5 View commit details

Commits on Oct 14, 2022

  1. Update @actions/core (#83)

    According to https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ this should fix the deprecations warnings related to `save-state` and `set-output`.
    Turbo87 authored Oct 14, 2022
    Copy the full SHA
    c4652c6 View commit details
  2. bump deps and rebuild

    Swatinem committed Oct 14, 2022
    Copy the full SHA
    d4d463b View commit details

Commits on Oct 16, 2022

  1. 2.0.1

    Swatinem committed Oct 16, 2022
    Copy the full SHA
    22c9328 View commit details
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- run: rustup toolchain install stable --profile minimal --component llvm-tools-preview
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal --component llvm-tools-preview
- uses: taiki-e/install-action@cargo-llvm-cov

6 changes: 5 additions & 1 deletion .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- run: rustup toolchain install stable --profile minimal
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
- uses: ./

6 changes: 5 additions & 1 deletion .github/workflows/simple.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- run: rustup toolchain install stable --profile minimal
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
- uses: ./
with:
3 changes: 3 additions & 0 deletions .github/workflows/sparse-registry.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,10 @@ jobs:
steps:
- uses: actions/checkout@v3

# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
- run: |
rustup set auto-self-update disable
rustup toolchain install nightly --profile minimal
rustup default nightly
6 changes: 5 additions & 1 deletion .github/workflows/target-dir.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- run: rustup toolchain install stable --profile minimal
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
# the `workspaces` option has the format `$workspace -> $target-dir`
# and the `$target-dir` is relative to the `$workspace`.
6 changes: 5 additions & 1 deletion .github/workflows/workspaces.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- run: rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown
- uses: ./
with:
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.0.1

- Primarily just updating dependencies to fix GitHub deprecation notices.

## 2.0.0

- The action code was refactored to allow for caching multiple workspaces and
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ sensible defaults.
cache-on-failure: ""
```
Further examples are available in the [.github/workflows][] directory.
Further examples are available in the [.github/workflows](./.github/workflows/) directory.
## Outputs
@@ -63,11 +63,6 @@ _always_ use the most up-to-date dependency versions, which may not be cached.
Usage with Stable Rust is most effective, as a cache is tied to the Rust version.
Using it with Nightly Rust is less effective as it will throw away the cache every day.

## Versioning

I use the `v1` branch similar to `master` development, so if you want to have
a more stable experience, please use a fixed revision or tag.

## Cache Details

This action currently caches the following files/directories:
Loading