Predrag Gruevski
c7306483f6
Avoid leading dash in cache key. ( #67 )
...
Fixes #66 .
2024-03-19 19:33:21 +00:00
Mieszko Grodzicki
ca4682c48b
Use folder-hash
instead of hash-files
. ( #45 )
...
* Use folder-hash instead of hash-files.
* Fix indentation in jest.config.js
* awaits in separate lines
2023-04-30 15:37:33 -04:00
Mieszko Grodzicki
8b981cde1a
Add input exclude
, allow list in package
( #40 )
...
* Add exclude, allow lists in package
* Add test for input exclude
* Second dummy crate in test workspace
* New tests
* Fix cache key
* Forgot about flat()
* Reflect changes in docs
* New key in cache test
* Shorter job name
* Allowed to fail -> expected to fail
* Update README.md
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
* Hash inputs in cache key
* Update cache test
* Update README
---------
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2023-04-23 14:24:06 -04:00
Mieszko Grodzicki
670e9a45ae
Include package
and manifest-path
in the cache key ( #38 )
...
* New caching strategy
* Update README.md
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
---------
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2023-04-23 10:37:17 +02:00
Mieszko Grodzicki
f2825830a8
Environmental variables ( #28 ) ( #36 )
...
* Setting environmental variables
* Test the action also on 1.67
2023-04-17 08:45:37 -04:00
Mieszko Grodzicki
913235ca66
Baseline rustdoc caching ( #29 )
...
* Baseline caching - initial work
* Add comment explaining the change of CARGO_TARGET_DIR.
* Update README.md
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
* Refactor getRustcVersion and getCargoSemverChecksVersion
* Move helper functions outside RustdocCache class.
* cachePath passed in constructor
* workspaceRoot as constructor argument
* Inline getManifestDir
* Change target to semver-checks/target
* Fix missing hash-files
* Upload cache if its hash changes
* Add input prefix-key
---------
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2023-04-04 09:26:44 -04:00