Skip to content

Commit 60dc3b2

Browse files
chore(deps): update actions/checkout action to v4
1 parent fe6e15b commit 60dc3b2

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/prerelease.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Run security checks via snyk
2121
runs-on: ubuntu-20.04
2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2424
- name: Login to DockerHub
2525
uses: docker/login-action@v1
2626
with:
@@ -35,7 +35,7 @@ jobs:
3535
name: Run unit tests on *Nix
3636
runs-on: ubuntu-20.04
3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v4
3939
- name: Login to DockerHub
4040
uses: docker/login-action@v1
4141
with:
@@ -54,7 +54,7 @@ jobs:
5454
working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}}
5555
steps:
5656
- name: Checkout
57-
uses: actions/checkout@v2
57+
uses: actions/checkout@v4
5858
with:
5959
path: src/github.com/${{env.ORIGINAL_REPO_NAME}}
6060
- name: Install Go
@@ -75,7 +75,7 @@ jobs:
7575
working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}}
7676
steps:
7777
- name: Check out code
78-
uses: actions/checkout@v2
78+
uses: actions/checkout@v4
7979
with:
8080
fetch-depth: 1
8181
path: src/github.com/${{env.ORIGINAL_REPO_NAME}}
@@ -97,7 +97,7 @@ jobs:
9797
GPG_PASSPHRASE: ${{ secrets.OHAI_GPG_PASSPHRASE }}
9898
GPG_PRIVATE_KEY_BASE64: ${{ secrets.OHAI_GPG_PRIVATE_KEY_BASE64 }} # base64 encoded
9999
steps:
100-
- uses: actions/checkout@v2
100+
- uses: actions/checkout@v4
101101
- name: Login to DockerHub
102102
uses: docker/login-action@v1
103103
with:
@@ -131,7 +131,7 @@ jobs:
131131
test-upgrade: [true,false]
132132
steps:
133133
- name: Checkout
134-
uses: actions/checkout@v2
134+
uses: actions/checkout@v4
135135
with:
136136
path: src/github.com/${{env.ORIGINAL_REPO_NAME}}
137137
- name: Get PFX certificate from GH secrets

.github/workflows/push_pr.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: Run all static analysis checks
2020
runs-on: ubuntu-20.04
2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- uses: newrelic/newrelic-infra-checkers@v1
2424
- name: Semgrep
2525
uses: returntocorp/semgrep-action@v1
@@ -43,7 +43,7 @@ jobs:
4343
env:
4444
SNYK_TOKEN: ${{ secrets.CAOS_SNYK_TOKEN }}
4545
steps:
46-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v4
4747
- name: Login to DockerHub
4848
if: ${{env.DOCKER_LOGIN_AVAILABLE}}
4949
uses: docker/login-action@v1
@@ -58,7 +58,7 @@ jobs:
5858
name: Run unit tests on *Nix
5959
runs-on: ubuntu-20.04
6060
steps:
61-
- uses: actions/checkout@v2
61+
- uses: actions/checkout@v4
6262
- name: Login to DockerHub
6363
if: ${{env.DOCKER_LOGIN_AVAILABLE}}
6464
uses: docker/login-action@v1
@@ -78,7 +78,7 @@ jobs:
7878
working-directory: src/github.com/${{ env.ORIGINAL_REPO_NAME }}
7979
steps:
8080
- name: Checkout
81-
uses: actions/checkout@v2
81+
uses: actions/checkout@v4
8282
with:
8383
path: src/github.com/${{env.ORIGINAL_REPO_NAME}}
8484
- name: Install Go
@@ -99,7 +99,7 @@ jobs:
9999
working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}}
100100
steps:
101101
- name: Check out code
102-
uses: actions/checkout@v2
102+
uses: actions/checkout@v4
103103
with:
104104
fetch-depth: 1
105105
path: src/github.com/${{env.ORIGINAL_REPO_NAME}}
@@ -122,7 +122,7 @@ jobs:
122122
name: Test binary compilation for all platforms:arch
123123
runs-on: ubuntu-20.04
124124
steps:
125-
- uses: actions/checkout@v2
125+
- uses: actions/checkout@v4
126126
- name: Login to DockerHub
127127
if: ${{env.DOCKER_LOGIN_AVAILABLE}}
128128
uses: docker/login-action@v1

.github/workflows/repolinter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0]
2323
- name: Checkout Self
2424
if: ${{ steps.default-branch.outputs.result == 'true' }}
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
2626
- name: Run Repolinter
2727
if: ${{ steps.default-branch.outputs.result == 'true' }}
2828
uses: newrelic/repolinter-action@v1

0 commit comments

Comments
 (0)