Commit Graph

250 Commits (7f8b9fe1f00d7be355c7b5d4380e7d181058c4b3)
 

Author SHA1 Message Date
Josh Gross 84b3b283f0
Await io mkdirP ()
Josh Gross 8d14a2150b
Add unit tests for save ()
* Clean up args and arrange imports

* Arrange args in restore tests

* Add unit tests for save

* Use const instead of let (linting)
Josh Gross c0584c42d1
Add unit tests for actionUtils ()
* Add unit tests for actionUtils

* Fix file size on ubuntu and test name

* Remove unused import
Josh Gross bb828da54c
Format cache size and display on info ()
Josh Gross 7e7aef2963
Add pip examples ()
Josh Gross b7d83b4095
Provide better errors for unsupported event types ()
* Validate event type during restore

* PR Feedback

* Format

* Linting
Josh Gross 50a2fdee6f
Update yarn cache example ()
* Update yarn cache example

* Update examples.md

Co-Authored-By: Eric Taylor <erictaylor89@gmail.com>
Josh Gross f0cbadd748
Use cache in workflows ()
Josh Gross 4657a5f525
Fix lint on Windows ()
BSKY fb50aa45ec Add initial eslint setup ()
BSKY 31508256ff Update README.md ()
Josh Gross bc821d0c12
Remove recommendation to cache node_modules ()
* Update npm caching examples

* Fix output name

* Remove extra details tag
Josh Gross bde557aefd
Fix PR filters
Josh Gross 4b0709a0d5
Add unit tests for restore ()
* Move archive file size to utils

* Disable net connect with nock

* Add unit tests for restore

* Fix test names and test URL
Kai Neuwerth ecf6eea708 Add PHP Composer example ()
Josh Gross eb10706a9d Bump version to v1.0.1 and audit fix
Birunthan Mohanathas 30524a6fbd Tweak 'Cache not found' message ()
Previously the message was like this:

```
Cache not found for input keys: ["xxx",""]
```

Note the empty entry at the end because `String.prototype.split` results
in an array with one empty string if there was nothing to split.

Now it looks like:

```
Cache not found for input keys: xxx
```
Josh Gross b034b26a44
Bump cache limit to 400MB ()
Hugo van Kemenade e1ed41a9c9 Link to docs ()
* Link to docs

* Attempt to default to user's browser language first
Hugo van Kemenade 5f4d4d4555 Alphabetise examples ()
Koen Punt 5d3ad75a2b Update example formatting ()
* adjust formatting of Carthage example

* enable syntax highlighting for Cargo example
Josh Gross d8c5e69fe2
Update badge to filter to master push events
Josh Gross f66a56e59e
Bump version to v1 ()
Josh Gross 21f72b1fcc Bump package version
Birunthan Mohanathas ce4a52af49 Stop warning when cache is not found ()
The cache not being found is a common situation so very visible warning
is a little too much.
Linda_pp 57f889e86e Add cargo example for Rust project ()
* Add cargo example

* Add hash of Cargo.lock to keys of caches

* Move Rust example to examples.md
Ishizaka Tomoya 8c4c641fa0 Add Elixir Mix example ()
* Add Elixir Mix example

* Fix typo
Brian Surowiec fe98aa6782 Fix repo name in contact email ()
CrazyMax 87c0185d27 Add Go modules example ()
* Add Go modules example

* Fix TOC
Adam Dobrawy 25e0c8faac Remove cache checksum debug - close ()
* Remove cache checksum debug - close 

*  Remove cache checksum debug on save

* Fix formatting
Zach Renner d384987622 Time based eviction interval is 1 week ()
Winter Jung 7058277028 Fix typo in error message ()
David Hadka 2523667574 Add note about time-based eviction to README ()
Josh Gross 0e86554410
Ignore all .md files
Josh Gross aae1376422
Exclude documentation from CI tests ()
Peter fc310d4670 Fix README.md ()
`restore-keys` had incorrect indentation.
Zach Renner 287ee0671b Add trailing dash to Maven fallback key ()
Zach Renner c401b561b2 Link to NuGet lock files documentation ()
Josh Gross 526c940a94
Prevent commands from executing during tests ()
* Prevent commands from executing during tests

* Add newline at end of file

* Drop all commands from output
Chris Patterson d676b6c354
Update README.md
M Akhyar Rahman Hidayat 6be35d19ef Minor typo in README ()
from `steps.[ID].outupts.cache-hit` to `steps.[ID].outputs.cache-hit`
Josh Gross 3743276c66
Move examples to their own page ()
Ryoya Ito 6e37fd16ea Add Carthage example ()
Kosuke Ogawa 83bb08ded3 Add Cocoapods example ()
Kosuke Ogawa 7611296bb3 Add Ruby Gem example ()
Josh Gross 889c603691
Update workflow ()
* Run workflow on linux, mac, and windows

* Add status badge

* Use npm install instead

* Bump typescript version

* Use node 12.x
Josh Gross b2cac08cff
Create CODE_OF_CONDUCT.md
Josh Gross 37c45447e4 Initial commit
Madhuri Gummalla 551cf17d91
Update README.md
madhurig bddca1d49b init repo