Skip to content

Update actions/checkout in GitHub Actions to v3#69

Merged
lemire merged 1 commit intolemire:masterfrom
striezel-stash:action-update
Dec 8, 2022
Merged

Update actions/checkout in GitHub Actions to v3#69
lemire merged 1 commit intolemire:masterfrom
striezel-stash:action-update

Conversation

@striezel
Copy link
Copy Markdown
Contributor

Updates the actions/checkout action used in the GitHub Actions workflow to its newest major version.

Changes in actions/checkout:

v3.1.0

  • Use @actions/core saveState and getState
  • Add github-server-url input

v3.0.2

  • Add input set-safe-directory

v3.0.1

  • Fixed an issue where checkout failed to run in container jobs due to the new git setting safe.directory
  • Bumped various npm package versions

v3.0.0

  • Update to node 16

As far as I can tell this should all be backwards compatible, so I do not expect any breakage.

@striezel
Copy link
Copy Markdown
Contributor Author

Some additional context: Workflows that still use the old version 2 of actions/checkout will trigger a warning like the one that can be seen here: https://github.com/lemire/fast_double_parser/actions/runs/3474980780

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2

Those warnings will be fixed by updating to version 3, and that is what this PR does.

@lemire lemire merged commit 027fb3a into lemire:master Dec 8, 2022
@striezel striezel deleted the action-update branch December 8, 2022 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants