1
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2025-01-11 22:41:37 +01:00
Commit graph

15 commits

Author SHA1 Message Date
Henry Mercer
cae64ca3cd
Attempt to delete the archive after extraction ()
This reduces storage space used once the Action has finished executing.
2020-03-18 09:43:56 -04:00
BSKY
6c471ae9f6
Add eslint-plugin-simple-import-sort ()
* Add eslint-plugin-simple-import-sort

* Update .eslintrc.json

* eslint --fix
2020-03-18 09:35:13 -04:00
Carlos Guerrero
8e9c167fd7
Small message change ()
* Small message change

Remove dot that generates confusion in wether that's part of the key or not

* Fix format-check

* Update tests
2020-02-25 14:16:36 -05:00
eric sciple
4944275b95
test e2e during workflow () 2020-02-13 12:38:56 -05:00
David Hadka
f9c9166ecb
Increase cache limit to 5 GBs ()
* Increase cache limit to 5 GBs

* Fix test to use new size limit

* Update src/save.ts

Co-Authored-By: Josh Gross <joshmgross@github.com>

Co-authored-by: Josh Gross <joshmgross@github.com>
2020-02-01 16:11:02 -05:00
Josh Gross
b45d91cc4b
Chunked Cache Upload APIs ()
* Initial pass at chunked upload apis

* Fix cacheEntry type

* Linting

* Fix download cache entry tests

* Linting tests

* Pull in fixes from testing branch

* Fix typo in ReserveCacheResponse

* Add test convering reserve cache failure

* Add retries to upload chunk

* PR feedback

* Format default chunk size

* Remove responses array
2020-01-06 13:05:50 -05:00
Josh Gross
3854a40aee
Use BSD tar on windows ()
* Use BSD tar on windows

* Linting

* Fallback to which tar if no system tar

* Fix formatting

* Bump prettier and typescript
2019-12-13 17:24:37 -05:00
Josh Gross
95c1798369
Remove validation failures and warning annotations ()
* Update warnings behavior

* Add void return type
2019-11-21 14:37:54 -05:00
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)
2019-11-14 17:14:16 -05:00
Josh Gross
c0584c42d1
Add unit tests for actionUtils ()
* Add unit tests for actionUtils

* Fix file size on ubuntu and test name

* Remove unused import
2019-11-13 16:13:00 -05:00
Josh Gross
bb828da54c
Format cache size and display on info () 2019-11-13 11:00:46 -05:00
Josh Gross
b7d83b4095
Provide better errors for unsupported event types ()
* Validate event type during restore

* PR Feedback

* Format

* Linting
2019-11-13 10:54:39 -05:00
BSKY
fb50aa45ec Add initial eslint setup () 2019-11-12 16:48:02 -05:00
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
2019-11-06 13:41:45 -05:00
Josh Gross
37c45447e4 Initial commit 2019-10-30 14:48:49 -04:00