Commit Graph

204 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
ccdddcc049 only hash Cargo.toml/Cargo.lock that belong to a configured workspace (#90) 2022-11-05 21:18:04 +01:00
Arpad Borsos
b5ec9edd91 2.0.2
Some checks failed
coverage / Test `cargo-llvm-cov` on ubuntu-latest (push) Failing after 0s
install / Test `cargo install` on ubuntu-latest (push) Failing after 0s
simple / Test `cargo check/test` on ubuntu-latest (push) Failing after 0s
sparse-registry / Test `cargo check/test` with sparse registry on ubuntu-latest (push) Failing after 0s
target-dir / Test custom target-dir on ubuntu-latest (push) Failing after 0s
workspaces / Test multiple workspaces on ubuntu-latest (push) Failing after 0s
coverage / Test `cargo-llvm-cov` on macos-latest (push) Has been cancelled
coverage / Test `cargo-llvm-cov` on windows-latest (push) Has been cancelled
install / Test `cargo install` on macos-latest (push) Has been cancelled
install / Test `cargo install` on windows-latest (push) Has been cancelled
simple / Test `cargo check/test` on macos-latest (push) Has been cancelled
simple / Test `cargo check/test` on windows-latest (push) Has been cancelled
sparse-registry / Test `cargo check/test` with sparse registry on macos-latest (push) Has been cancelled
sparse-registry / Test `cargo check/test` with sparse registry on windows-latest (push) Has been cancelled
target-dir / Test custom target-dir on macos-latest (push) Has been cancelled
target-dir / Test custom target-dir on windows-latest (push) Has been cancelled
workspaces / Test multiple workspaces on macos-latest (push) Has been cancelled
workspaces / Test multiple workspaces on windows-latest (push) Has been cancelled
v2.0.2
2022-11-03 11:26:28 +01:00
Arpad Borsos
3f2513fdf4 avoid calling cargo metadata on pre-cleanup 2022-11-03 11:26:22 +01:00
Arpad Borsos
19c46583c5 update dependencies 2022-11-03 11:09:40 +01:00
Mikhail Katychev
b8e72aae83 Added prefix-key cache-directories and cache-targets options (#85) 2022-10-18 23:05:42 +02:00
Arpad Borsos
22c9328bcb 2.0.1
Some checks failed
coverage / Test `cargo-llvm-cov` on ubuntu-latest (push) Failing after 0s
install / Test `cargo install` on ubuntu-latest (push) Failing after 0s
simple / Test `cargo check/test` on ubuntu-latest (push) Failing after 0s
sparse-registry / Test `cargo check/test` with sparse registry on ubuntu-latest (push) Failing after 0s
target-dir / Test custom target-dir on ubuntu-latest (push) Failing after 0s
workspaces / Test multiple workspaces on ubuntu-latest (push) Failing after 0s
coverage / Test `cargo-llvm-cov` on macos-latest (push) Has been cancelled
coverage / Test `cargo-llvm-cov` on windows-latest (push) Has been cancelled
install / Test `cargo install` on macos-latest (push) Has been cancelled
install / Test `cargo install` on windows-latest (push) Has been cancelled
simple / Test `cargo check/test` on macos-latest (push) Has been cancelled
simple / Test `cargo check/test` on windows-latest (push) Has been cancelled
sparse-registry / Test `cargo check/test` with sparse registry on macos-latest (push) Has been cancelled
sparse-registry / Test `cargo check/test` with sparse registry on windows-latest (push) Has been cancelled
target-dir / Test custom target-dir on macos-latest (push) Has been cancelled
target-dir / Test custom target-dir on windows-latest (push) Has been cancelled
workspaces / Test multiple workspaces on macos-latest (push) Has been cancelled
workspaces / Test multiple workspaces on windows-latest (push) Has been cancelled
v2.0.1
2022-10-16 16:54:17 +02:00
Arpad Borsos
d4d463bd9b bump deps and rebuild 2022-10-14 21:54:25 +02:00
Tobias Bieniek
c4652c677c 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`.
2022-10-14 21:47:06 +02:00
Sibi Prabakaran
76686c56f2 docs: Fix github workflows directory (#79) 2022-09-19 08:55:11 +02:00
Arpad Borsos
1b43d2f2c3 remove outdated versioning note 2022-09-19 08:49:21 +02:00
Arpad Borsos
20b9201e8a bump cargo hash 2022-09-04 13:31:17 +02:00
Arpad Borsos
0d72e5f9a0 revert explicit dir close 2022-09-04 13:22:47 +02:00
Arpad Borsos
86531941c2 Merge branch 'master' of https://github.com/Swatinem/rust-cache 2022-09-04 13:10:54 +02:00
Arpad Borsos
be4be3720d explicitly close dir handles, add more logging, cleanups 2022-09-04 13:10:36 +02:00
Arpad Borsos
213334cd98 cargo update 2022-09-04 12:04:06 +02:00
Arpad Borsos
b8d4fa4eaf update dependencies, use watto as example 2022-09-04 12:03:43 +02:00
Kamil Ogórek
90429b3dea ci: Disable rustup self-updates (#68) 2022-08-09 14:23:59 +02:00
Arpad Borsos
6720f05bc4 2.0.0
Some checks failed
coverage / Test `cargo-llvm-cov` on ubuntu-latest (push) Failing after 0s
install / Test `cargo install` on ubuntu-latest (push) Failing after 0s
simple / Test `cargo check/test` on ubuntu-latest (push) Failing after 0s
sparse-registry / Test `cargo check/test` with sparse registry on ubuntu-latest (push) Failing after 0s
target-dir / Test custom target-dir on ubuntu-latest (push) Failing after 0s
workspaces / Test multiple workspaces on ubuntu-latest (push) Failing after 0s
coverage / Test `cargo-llvm-cov` on macos-latest (push) Has been cancelled
coverage / Test `cargo-llvm-cov` on windows-latest (push) Has been cancelled
install / Test `cargo install` on macos-latest (push) Has been cancelled
install / Test `cargo install` on windows-latest (push) Has been cancelled
simple / Test `cargo check/test` on macos-latest (push) Has been cancelled
simple / Test `cargo check/test` on windows-latest (push) Has been cancelled
sparse-registry / Test `cargo check/test` with sparse registry on macos-latest (push) Has been cancelled
sparse-registry / Test `cargo check/test` with sparse registry on windows-latest (push) Has been cancelled
target-dir / Test custom target-dir on macos-latest (push) Has been cancelled
target-dir / Test custom target-dir on windows-latest (push) Has been cancelled
workspaces / Test multiple workspaces on macos-latest (push) Has been cancelled
workspaces / Test multiple workspaces on windows-latest (push) Has been cancelled
v2.0.0
2022-07-16 12:42:19 +02:00
Arpad Borsos
5733786579 rebuild 2022-07-16 12:42:15 +02:00
Arpad Borsos
622616010e prepare v2 2022-07-16 12:38:38 +02:00
Arpad Borsos
0497f9301f improve registry cleanpu 2022-07-09 19:20:02 +02:00
Arpad Borsos
7b8626742a update registry cleaning 2022-07-09 18:51:34 +02:00
Arpad Borsos
911d8e9e55 test sparse registry 2022-07-09 17:49:43 +02:00
Arpad Borsos
875be5ce2d bump cache 2022-07-09 17:39:42 +02:00
Arpad Borsos
07a2ee71bc lol, dependency check was reversed 2022-07-09 17:37:48 +02:00
Arpad Borsos
7c190ef171 fix actual test code ;-) 2022-07-09 17:20:01 +02:00
Arpad Borsos
fffd6895b2 add some more tests 2022-07-09 17:17:14 +02:00
Arpad Borsos
86bae2494f clean nested and arbitrary profile and target directories 2022-07-09 16:14:38 +02:00
Arpad Borsos
827b33fbd0 pretty printing and fix workspace package retrieval 2022-07-09 15:51:45 +02:00
Arpad Borsos
36af5cb1ae fix pretty printing and selftest 2022-07-09 15:39:43 +02:00
Arpad Borsos
cb43a50800 fix env filtering 2022-07-09 15:31:33 +02:00
Arpad Borsos
f6e3aa3e12 use run workspace 2022-07-09 15:28:28 +02:00
Arpad Borsos
11be10514b fix pretty printing 2022-07-09 15:25:09 +02:00
Arpad Borsos
e1846a926d rebuild 2022-07-09 15:21:43 +02:00
Arpad Borsos
6ed4c28a7c rewrite it all 2022-07-09 15:19:29 +02:00
Arpad Borsos
5df06440c6 correct toolchain invocation 2022-07-09 12:38:23 +02:00
Arpad Borsos
3fedbbb115 commit workspace lockfile 2022-07-09 12:26:22 +02:00
Arpad Borsos
fc84c9d9a3 move selftests to subdirectory and run more selftests 2022-07-09 12:23:37 +02:00
Nick Mosher
260a713186 Cache multiple target directories from 'target-dir' 2022-07-09 11:58:11 +02:00
Dominik Nakamura
fa61956921 Include env vars in the generated cache key 2022-07-09 11:53:57 +02:00
Arpad Borsos
81d053bdb0 update dependencies and rebuild 2022-06-26 12:35:07 +02:00
Vlad-Shcherbina
5040f39404 Skip registry cleaning if no registry was found (#65)
This fixes #64.

When Cargo is run in sparse-registry mode, it doesn't create
  ~/.cargo/registry/index/github.com-1ecc6299db9ec823/
directory.
2022-06-26 10:51:36 +02:00
Vlad-Shcherbina
2055a01dcd Improve diagnostics: show exception stack trace (#63)
Also add logging to the quiet exception handlers.
2022-06-25 23:20:01 +02:00
Arpad Borsos
cb2cf0cc7c 1.4.0
Some checks failed
CI / Test Action on ubuntu-latest (push) Failing after 0s
CI / Test Action on macos-latest (push) Has been cancelled
CI / Test Action on windows-latest (push) Has been cancelled
v1.4.0
2022-04-08 17:27:07 +02:00
Arpad Borsos
74e8e24b6d Update dependencies, clean both debug and release targets 2022-04-08 17:25:03 +02:00
Arpad Borsos
f8f67b7515 Add a LICENSE file
fixes #50
2022-03-05 10:21:49 +01:00
Ed Morley
5b2b053862 Improve Cache Details documentation (#49)
Updates the documentation on how the cache works to more
closely match the implementation and to explain some of the design decisions.
2022-03-05 10:04:16 +01:00
Arpad Borsos
3bb3a9a087 update deps and rebuild 2021-12-24 08:55:35 +01:00
Arpad Borsos
d127014599 update dependencies 2021-09-28 17:49:43 +02:00
Sergey Nikitin
801365cd81 hint that checkout has to be used first (#34) 2021-09-28 16:03:51 +02:00