Commit Graph

369 Commits (f316f94f312df2c754a18dc69959316ae47ef6a2)
 

Author SHA1 Message Date
vsvipul 757c5a8ca4 Update deps
Thomas Boop 4e817c1f42 Update to node16
Node 12 has an end of life on April 30, 2022.

This PR updates the default runtime to [node16](https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/), rather then node12. 

This is supported on all Actions Runners v2.285.0 or later.
Hiroki Noda 5074380beb [D] Fix: should use dub.selections.json for cache
Vipul 72d1e4fdff
Merge pull request from actions/up-dep2
Update actions/cache package
vsvipul 8e70c71aee Update licenses for packages
Vipul 4d3516739c Update build files
Vipul 9c2f1a93d4 Update actions/cache package
Ashwin Sangem 5df1ae880d
Merge pull request from ygnoh/patch-1
Fix test description
Yonggoo Noh 45bb0b1552
Fix test description
Vipul b32c91dfec
Merge pull request from actions/resolve-dep
Resolve dependabot alerts
vsvipul 7f8b9fe1f0 Fix line ending for windows test
vsvipul 0ac93353cd Update eslint and prettier
vsvipul 051d7bc106 Resolve dependabot alerts
Vipul 934cc8fa30
Merge pull request from actions/up-dep-2
Update types/node and eslint-plugin-import
Bishal Prasad 35dd74a1a0
Merge pull request from JJ/patch-1
Vipul 869d93f182 Update deps
Juan Julián Merelo Guervós a848fb313f
This is a good tip if you're using Alpine
(Which does not have a POSIX-compliant tar by default)
Jheyson Saavedra de7c17c6a9
chore: add Deno cache example
Vipul 611465405c
Merge pull request from nomeata/patch-1
Improve Haskell example
Joachim Breitner c64c5261d3
Fix syntax
Joachim Breitner 4e8aa1cc93
Improve Haskell example
as proposed in https://github.com/actions/cache/issues/555
Vipul f7a7367bb2
Create close-inactive-issues.yml
Vipul 3bb5ffcc9c
Merge pull request from tgrall/issue-687
Document the fact that this action is not supported on GitHub Enterprise Server
Vipul e6890046a6
Update README.md
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
Vipul 62fa565f30
Merge pull request from actions/bishal-pdMSFT-patch-1
Add actions-cache team in CODEOWNERS
Bishal Prasad e882008267
Update CODEOWNERS
Bishal Prasad 8e0501dcaf
Add actions-cache team in CODEOWNERS
Tugdual Grall a3b6799c91 update readme for issue
Aparna Ravindra bd49291365
Update README.md - 10GB support
Aparna Ravindra 937d244753
bumping up action version to 2.1.7 ()
Aparna Ravindra eb0698d1c5
Bumping up @actions/cache version to 1.0.8 ()
* bumping up @actions/cache version to 1.0.8
* Remove ubuntu-16.04
Manuel Roth 67b6d52d50
(R renv) Remove unused renv-cache-path variable ()
Manuel Roth 92f67a4829
(R renv) Fix Renv package cache location in examples ()
* (R renv) Fix Renv package cache location in examples

* (R env) Update getting Renv package cache location

* (R env) Set renv package cache location using RENV_PATHS_ROOT environment variable
Peter Mescalchin 447f0fd1d3 Chomp some markdown whitespace
Peter Mescalchin 47e8bd685f Small fix to `README.md` examples link
Peter Mescalchin 795a8f09a9 Fixed Windows Golang cache paths in example
Brian Cristante 6bbe742add
Use existing check-dist implementation ()
Brian Cristante c9db520cf3
Create check-dist.yml ()
* Add check-dist.yml

* Fix triggers in licensed.yml

* fix workflow for this repo
dependabot[bot] 10906ba9cd
Bump ws from 5.2.2 to 5.2.3 ()
Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Vít Stanislav 2ebdcff279
Add "see more" link to GHE-not-supported warning ()
* Add "see more" link to GHE-not-supported warning

I lived for several months thinking that support for caching action on GHE is just a matter of time, because it's such an important thing to have. Only today, I discovered that originally it was not planned at all. And that people already created some workarounds. So I hope that linking the issue from the warning message will save other people from what happened to me :-)

* Update new GHE-not-supported message in tests

* Update generated dist files
andrewdotn 5807af2642
Fix bugs in example of how to use with pipenv ()
* Fix bugs in example of how to use with pipenv

The current example of how to use `@actions/cache` with pipenv has two
problems:

 1. The cached virtualenv that pipenv creates has `bin/python` as a symlink
    into paths like `/opt/hostedtoolcache/Python/3.7.11` that explicitly
    include the patch version of python. When the cache is restored onto a
    machine running a slightly different version of python, e.g., when
    GitHub upgrades its runners from python 3.7.10 to 3.7.11, then any
    attempt to run python in the workflow mysteriously fails with errors
    like `Failed to load paths: /bin/sh: 1: /home/runner/.local/share/virtualenvs/myrepo-sOIMCiTO/bin/python: not found`.

    Therefore the patch version of python should be included in the cache
    key.

 2. `pipenv --install` has the unfortunate behaviour of not cleaning out
    any pre-existing packages. That is, if the `Pipfile` first contains
    dependencies on `foo` and `bar`, and then you remove `bar` from the
    `Pipfile` and run `pipenv install` again, `bar` is still included in
    the virtualenv.

    This can cause false-positive test failures: when a dependency is
    removed from the `Pipfile` but there is still code that relies on the
    removed dependency, tests can still pass if the dependency comes from
    the cache based on a previous revision of `Pipfile.lock`.

    Therefore `restore-keys` should not be set.

This PR attempts to address both of these issues.

* Explain why setup-python is included in example
Peter Mescalchin 0638051e9a
Golang example tweak - add `go-build` path - rebuild page TOC ()
David Hadka c64c572235
Catch and log unhandled exceptions stemming from closed file descriptor ()
Alex Tokarev cc2d767a72
Update Rust directories recommended for caching ()
This commit applies the suggestion from The Cargo Book:
https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
Daniel Kuschny 2fa955d825
Update examples.md ()
Extend gradle notes.
Yuichi Yogo 4762de4681 simplify path in lerna example
kalin 3a696372f2
elixir typo - stray parenthesis ()
Wojtek Mach 366e5ba022
Update cache key for Elixir ()
Yuichi Yogo 12ed05f49a Fix typo of cache path in Lerna example
David Hadka 8d3f2fc3ce
Update dependencies ()