mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 21:41:27 +01:00
Update to checkout v4 (#3759)
Noticed due to https://github.com/carbon-language/carbon-lang/actions/runs/8207272518 ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ``` I'm expecting we can just update the version number on these.
This commit is contained in:
@@ -56,13 +56,13 @@ jobs:
|
||||
# Checkout the pull request head or the branch.
|
||||
- name: Checkout pull request
|
||||
if: github.event_name == 'pull_request'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Checkout branch
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Tests should only run on applicable paths, but we still need to have an
|
||||
# action run for the merge queue. We filter steps based on the paths here,
|
||||
|
||||
Reference in New Issue
Block a user