Skip to content

Commit 2cebb8f

Browse files
committed
github: update checkout action to v4 to silence warnings
Problem: Github warns that Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. Update to checkout@v4 to silence the warnings.
1 parent 2527c83 commit 2cebb8f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/asan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
timeout-minutes: 60
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010
with:
1111
ref: ${{ github.event.pull_request.head.sha }}
1212
fetch-depth: 0

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: github.event_name == 'pull_request'
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
ref: ${{ github.event.pull_request.head.sha }}
1515
fetch-depth: 0
@@ -19,7 +19,7 @@ jobs:
1919
spelling:
2020
runs-on: ubuntu-20.04
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- name: Check Spelling
2424
uses: crate-ci/typos@e477391cc0243daaeeb154a7bfa67cb7d6fc5831 # v1.16.8
2525

@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/setup-python@v4
3131
with:
3232
python-version: 3.6
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
with:
3535
ref: ${{ github.event.pull_request.head.sha }}
3636
fetch-depth: 0
@@ -44,7 +44,7 @@ jobs:
4444
name: flux-sched check
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/checkout@v3
47+
- uses: actions/checkout@v4
4848
with:
4949
ref: ${{ github.event.pull_request.head.sha }}
5050
fetch-depth: 0
@@ -62,7 +62,7 @@ jobs:
6262
name: flux-accounting check
6363
runs-on: ubuntu-latest
6464
steps:
65-
- uses: actions/checkout@v3
65+
- uses: actions/checkout@v4
6666
with:
6767
ref: ${{ github.event.pull_request.head.sha }}
6868
fetch-depth: 0
@@ -78,7 +78,7 @@ jobs:
7878
name: flux-pmix check
7979
runs-on: ubuntu-latest
8080
steps:
81-
- uses: actions/checkout@v3
81+
- uses: actions/checkout@v4
8282
with:
8383
ref: ${{ github.event.pull_request.head.sha }}
8484
fetch-depth: 0
@@ -100,7 +100,7 @@ jobs:
100100
name: flux-pam check
101101
runs-on: ubuntu-latest
102102
steps:
103-
- uses: actions/checkout@v3
103+
- uses: actions/checkout@v4
104104
with:
105105
ref: ${{ github.event.pull_request.head.sha }}
106106
fetch-depth: 0
@@ -122,7 +122,7 @@ jobs:
122122
outputs:
123123
matrix: ${{ steps.set-matrix.outputs.matrix }}
124124
steps:
125-
- uses: actions/checkout@v3
125+
- uses: actions/checkout@v4
126126
with:
127127
ref: ${{ github.event.pull_request.head.sha }}
128128
fetch-depth: 0
@@ -149,7 +149,7 @@ jobs:
149149
fail-fast: false
150150
name: ${{matrix.name}}
151151
steps:
152-
- uses: actions/checkout@v3
152+
- uses: actions/checkout@v4
153153
with:
154154
ref: ${{ github.event.pull_request.head.sha }}
155155
fetch-depth: 0
@@ -160,7 +160,7 @@ jobs:
160160
github.ref != 'refs/heads/master'
161161
run: |
162162
# Ensure git-describe works on a tag.
163-
# (checkout@v3 action may have left current tag as
163+
# (checkout@v4 action may have left current tag as
164164
# lightweight instead of annotated. See
165165
# https://github.com/actions/checkout/issues/290)
166166
#

0 commit comments

Comments
 (0)