Commit Graph

4 Commits

Author SHA1 Message Date
Sascha Mann
41e67bac8f Activate Dependabot for actions (#8) 2021-12-28 16:27:04 +01:00
Rik Huijzer
d2b01b0f17 Also test packages dir (#5)
* Also test packages dir

* Fix passing of newlines into path
2021-12-28 16:26:12 +01:00
Rik Huijzer
905462d72f Extend cache action (#4)
* Extend cache action

* Also test on Windows and macOS

* Fix a problem with setting output on Windows

* Use echo after set-output

* Generate key only once

* Fix non-matching name (should fail but doesn't weirdly)

* Update action.yml

Co-authored-by: Sascha Mann <git@mail.saschamann.eu>

* Update action.yml

Co-authored-by: Sascha Mann <git@mail.saschamann.eu>

Co-authored-by: Sascha Mann <git@mail.saschamann.eu>
2021-12-27 21:52:42 +01:00
Rik Huijzer
1dbed0efdd Add basic test (#1)
* Update action.yml

* Add basic test

* Add needs

* Fix unexpected symbol

* Assert isdir

* Update CI.yml

* Add mktempdir

* Write random Project.toml

* Switch to assert isempty

* Use random.txt

* Be more strict in restore-keys

* Assert isempty dir

* Fix CI?

* Restore gonna fail

* Fix save?

* Pass cache name

* Fix typo

* Fix bash string subst

* Fix typo

* Use string

* Remove Project.toml

* Remove change to action.yml

* Fix CI (#3)

* Small change

* Use DEPOT_PATH

* Fix CI?

* Pass name better

* Changes

* Change id

* Add a show

* Fix CI?

* Fix CI?

* Fix CI?

* Also output cache-hit

* Add echo

* Fix missing outputs

* Fix CI?

* Improve log

* Improve log

* Improve log

* Try different actions/cache version

* Check for empty

* Check for empty

* Fix syntax error

* Try something else

* Propagate value

* Temporarily use restore

* Update test-save

* Simplify

* Apply suggestions from code review

Co-authored-by: Sascha Mann <git@mail.saschamann.eu>

* Add basic test (#2)

* Add basic test

* Add needs

* Fix unexpected symbol

* Assert isdir

* Update CI.yml

* Add mktempdir

* Write random Project.toml

* Switch to assert isempty

* Use random.txt

* Be more strict in restore-keys

* Assert isempty dir

* Fix CI?

* Restore gonna fail

* Fix save?

* Pass cache name

* Fix typo

* Fix bash string subst

* Fix typo

* Use string

* Remove Project.toml

* Remove change to action.yml

* Fix CI (#3)

* Small change

* Use DEPOT_PATH

* Fix CI?

* Pass name better

* Changes

* Change id

* Add a show

* Fix CI?

* Fix CI?

* Fix CI?

* Also output cache-hit

* Add echo

* Fix missing outputs

* Fix CI?

* Improve log

* Improve log

* Improve log

* Try different actions/cache version

* Check for empty

* Check for empty

* Fix syntax error

* Try something else

* Propagate value

* Temporarily use restore

* Update test-save

* Simplify

* Apply suggestions from code review

Co-authored-by: Sascha Mann <git@mail.saschamann.eu>

* Also cache packages and registry

* Only cache artifacts

* Revert name and description

Co-authored-by: Sascha Mann <git@mail.saschamann.eu>
2021-12-27 16:54:12 +01:00