Skip to content

Commit

Permalink
Update checkout action to v4 (#5479)
Browse files Browse the repository at this point in the history
Upgrade checkout action to v4 to make use of Node 20.
Node 16, which v3 is using, reaches end of life on 2023-09-11.
  • Loading branch information
marcauberer committed Sep 16, 2023
1 parent fb14712 commit fb26b2d
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/browserslist.yml
Expand Up @@ -8,7 +8,8 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
- name: Update browerslist
run: |
git config user.name 'Compiler Explorer Bot'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/deploy-win.yml
Expand Up @@ -16,7 +16,8 @@ jobs:
branch: ${{ steps.build_dist.outputs.branch }}

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.buildnumber }}
Expand All @@ -39,7 +40,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js 18.x
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test-and-deploy.yml
Expand Up @@ -7,7 +7,8 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js 18.x
Expand Down Expand Up @@ -35,7 +36,8 @@ jobs:
branch: ${{ steps.build_dist.outputs.branch }}

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js 18.x
Expand All @@ -58,7 +60,8 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js 18.x
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-frontend.yml
Expand Up @@ -9,8 +9,8 @@ jobs:
matrix:
browser: ['chrome']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
- name: Install prerequisites
run: make prereqs
- name: Setup Firefox
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-win.yml
Expand Up @@ -11,7 +11,8 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js 18.x
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Expand Up @@ -135,3 +135,4 @@ From oldest to newest contributor, we would like to thank:
- [Jorge López](https://github.com/jolopezl)
- [Spydr06](https://github.com/spydr06)
- [Simon Sobisch](https://github.com/GitMensch)
- [Marc Auberer](https://github.com/marcauberer)

0 comments on commit fb26b2d

Please sign in to comment.