Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/cache from 1 to 3 #1389

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2023

Bumps actions/cache from 1 to 3.

Release notes

Sourced from actions/cache's releases.

v3.0.0

  • This change adds a minimum runner version(node12 -> node16), which can break users using an out-of-date/fork of the runner. This would be most commonly affecting users on GHES 3.3 or before, as those runners do not support node16 actions and they can use actions from github.com via github connect or manually copying the repo to their GHES instance.

  • Few dependencies and cache action usage examples have also been updated.

v2.1.7

Support 10GB cache upload using the latest version 1.0.8 of @actions/cache

v2.1.6

  • Catch unhandled "bad file descriptor" errors that sometimes occurs when the cache server returns non-successful response (actions/cache#596)

v2.1.5

  • Fix permissions error seen when extracting caches with GNU tar that were previously created using BSD tar (actions/cache#527)

v2.1.4

  • Make caching more verbose #650
  • Use GNU tar on macOS if available #701

v2.1.3

  • Upgrades @actions/core to v1.2.6 for CVE-2020-15228. This action was not using the affected methods.
  • Fix error handling in uploadChunk where 400-level errors were not being detected and handled correctly

v2.1.2

  • Adds input to limit the chunk upload size, useful for self-hosted runners with slower upload speeds
  • No-op when executing on GHES

v2.1.1

  • Update @actions/cache package to v1.0.2 which allows cache action to use posix format when taring files.

v2.1.0

  • Replaces the http-client with the Azure Storage SDK for NodeJS when downloading cache content from Azure. This should help improve download performance and reliability as the SDK downloads files in 4 MB chunks, which can be parallelized and retried independently
  • Display download progress and speed

v2.0.0

Initial v2 release

What's new in v2

v1.2.0

Bug Fixes

  • Fall back to GNU tar on older versions of Windows that do not have BSD tar installed (#252)
  • Fixed chunk upload retry logic (#305)

... (truncated)

Changelog

Sourced from actions/cache's changelog.

Releases

3.0.0

  • Updated minimum runner version support from node 12 -> node 16

3.0.1

  • Added support for caching from GHES 3.5.
  • Fixed download issue for files > 2GB during restore.

3.0.2

  • Added support for dynamic cache size cap on GHES.

3.0.3

  • Fixed avoiding empty cache save when no files are available for caching. (issue)

3.0.4

  • Fixed tar creation error while trying to create tar with path as ~/ home folder on ubuntu-latest. (issue)

3.0.5

  • Removed error handling by consuming actions/cache 3.0 toolkit, Now cache server error handling will be done by toolkit. (PR)

3.0.6

  • Fixed #809 - zstd -d: no such file or directory error
  • Fixed #833 - cache doesn't work with github workspace directory

3.0.7

  • Fixed #810 - download stuck issue. A new timeout is introduced in the download process to abort the download if it gets stuck and doesn't finish within an hour.

3.0.8

  • Fix zstd not working for windows on gnu tar in issues #888 and #891.
  • Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable SEGMENT_DOWNLOAD_TIMEOUT_MINS. Default is 60 minutes.

3.0.9

  • Enhanced the warning message for cache unavailablity in case of GHES.

3.0.10

  • Fix a bug with sorting inputs.
  • Update definition for restore-keys in README.md
Commits
  • 4723a57 Revert compression changes related to windows but keep version logging (#1049)
  • d1507cc Merge pull request #1042 from me-and/correct-readme-re-windows
  • 3337563 Merge branch 'main' into correct-readme-re-windows
  • 60c7666 save/README.md: Fix typo in example (#1040)
  • b053f2b Fix formatting error in restore/README.md (#1044)
  • 501277c README.md: remove outdated Windows cache tip link
  • c1a5de8 Upgrade codeql to v2 (#1023)
  • 9b0be58 Release compression related changes for windows (#1039)
  • c17f4bf GA for granular cache (#1035)
  • ac25611 docs: fix an invalid link in workarounds.md (#929)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 6, 2023
maresb
maresb previously approved these changes Jan 6, 2023
@codecov
Copy link

codecov bot commented Jan 6, 2023

Codecov Report

Merging #1389 (5d5cb25) into main (edc1788) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1389   +/-   ##
=======================================
  Coverage   74.69%   74.69%           
=======================================
  Files         195      195           
  Lines       49748    49748           
  Branches    10529    10529           
=======================================
  Hits        37157    37157           
  Misses      10266    10266           
  Partials     2325     2325           

@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/cache-3 branch from 112bc4d to bc37a25 Compare January 6, 2023 14:53
@brandonwillard brandonwillard added the CI Involves continuous integration label Jan 6, 2023
brandonwillard
brandonwillard previously approved these changes Jan 6, 2023
Bumps [actions/cache](https://github.com/actions/cache) from 1 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v1...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/cache-3 branch from bc37a25 to 5d5cb25 Compare January 6, 2023 18:27
@maresb maresb self-requested a review January 6, 2023 18:46
@maresb
Copy link
Contributor

maresb commented Jan 6, 2023

I would like to use automerge but I just see a greyed out "Rebase and merge" button. Maybe I don't have permissions?

@maresb maresb merged commit d84cc42 into main Jan 6, 2023
@dependabot dependabot bot deleted the dependabot/github_actions/actions/cache-3 branch January 6, 2023 20:28
@brandonwillard
Copy link
Member

I would like to use automerge but I just see a greyed out "Rebase and merge" button. Maybe I don't have permissions?

We can do that, but I would first like to look into/understand how we can decide exactly when it gets used. I'll need a minute to read the docs.

@maresb
Copy link
Contributor

maresb commented Jan 6, 2023

The case I have in mind is when a PR has been approved, but we have to let the checks finish. That way I don't have to remember to merge it later on.

@brandonwillard
Copy link
Member

The case I have in mind is when a PR has been approved, but we have to let the checks finish. That way I don't have to remember to merge it later on.

Yeah, that case is good.

@brandonwillard
Copy link
Member

OK, it's enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Involves continuous integration dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants