Skip to content

Commit 4a9fbf3

Browse files
🌱 update github actions
1 parent 68b0809 commit 4a9fbf3

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/workflows/apidiff.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
outputs:
1313
skip: ${{ steps.check_docs_only.outputs.skip }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
1818
- id: check_docs_only
@@ -31,11 +31,11 @@ jobs:
3131
if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true'
3232
steps:
3333
- name: Clone the code
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
3535
with:
3636
fetch-depth: 0
3737
- name: Setup Go
38-
uses: actions/setup-go@v2
38+
uses: actions/setup-go@v3
3939
with:
4040
go-version: "1.18"
4141
- name: Execute go-apidiff

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
outputs:
1313
skip: ${{ steps.check_docs_only.outputs.skip }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
1818
- id: check_docs_only
@@ -31,7 +31,7 @@ jobs:
3131
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true'
3232
steps:
3333
- name: Clone the code
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
3535
- name: Run linter
3636
uses: golangci/golangci-lint-action@v2
3737
with:

.github/workflows/testdata.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
1515
steps:
1616
- name: Clone the code
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
- name: Setup Go
19-
uses: actions/setup-go@v2
19+
uses: actions/setup-go@v3
2020
with:
2121
go-version: '1.18'
2222
- name: Remove pre-installed kustomize

.github/workflows/unit-tests-legacy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
2020
steps:
2121
- name: Clone the code
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
- name: Setup Go
24-
uses: actions/setup-go@v2
24+
uses: actions/setup-go@v3
2525
with:
2626
# the go/v2 cannot be updated and is scaffold with golang 1.13
2727
# (version used by its dep version of the controller-runtime)

.github/workflows/unit-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
outputs:
1313
skip: ${{ steps.check_docs_only.outputs.skip }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
1818
- id: check_docs_only
@@ -36,9 +36,9 @@ jobs:
3636
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true'
3737
steps:
3838
- name: Clone the code
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040
- name: Setup Go
41-
uses: actions/setup-go@v2
41+
uses: actions/setup-go@v3
4242
with:
4343
go-version: "1.18"
4444
# This step is needed as the following one tries to remove
@@ -67,9 +67,9 @@ jobs:
6767
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true'
6868
steps:
6969
- name: Clone the code
70-
uses: actions/checkout@v2
70+
uses: actions/checkout@v3
7171
- name: Setup Go
72-
uses: actions/setup-go@v2
72+
uses: actions/setup-go@v3
7373
with:
7474
go-version: "1.18"
7575
- name: Generate the coverage output

0 commit comments

Comments
 (0)