9
9
# Execute the checks inside the container instead the VM.
10
10
container : golangci/golangci-lint:v1.50.0-alpine
11
11
steps :
12
- - uses : actions/checkout@v3
12
+ - uses : actions/checkout@v4
13
13
- run : ./scripts/check/check.sh
14
14
15
15
unit-test :
16
16
name : Unit test
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
- uses : actions/setup-go@v3
21
21
with :
22
22
go-version-file : go.mod
31
31
name : Helm chart test
32
32
runs-on : ubuntu-latest
33
33
steps :
34
- - uses : actions/checkout@v3
34
+ - uses : actions/checkout@v4
35
35
- uses : actions/setup-go@v3
36
36
with :
37
37
go-version-file : go.mod
48
48
name : Integration test CLI
49
49
runs-on : ubuntu-latest
50
50
steps :
51
- - uses : actions/checkout@v3
51
+ - uses : actions/checkout@v4
52
52
- uses : actions/setup-go@v3
53
53
with :
54
54
go-version-file : go.mod
70
70
matrix :
71
71
kubernetes : [1.21.14, 1.22.15, 1.23.12, 1.24.6, 1.25.2]
72
72
steps :
73
- - uses : actions/checkout@v3
73
+ - uses : actions/checkout@v4
74
74
- uses : actions/setup-go@v3
75
75
with :
76
76
go-version-file : go.mod
@@ -113,7 +113,7 @@ jobs:
113
113
name : Release images
114
114
runs-on : ubuntu-latest
115
115
steps :
116
- - uses : actions/checkout@v3
116
+ - uses : actions/checkout@v4
117
117
- name : Docker login
118
118
run : docker login ghcr.io -u ${{ github.actor }} -p "${{ secrets.GITHUB_TOKEN }}"
119
119
- name : Build and publish docker images
@@ -129,7 +129,7 @@ jobs:
129
129
runs-on : ubuntu-latest
130
130
steps :
131
131
- run : echo "VERSION=${GITHUB_REF#refs/*/}" >> ${GITHUB_ENV} # Sets VERSION env var.
132
- - uses : actions/checkout@v3
132
+ - uses : actions/checkout@v4
133
133
- name : Docker login
134
134
run : docker login ghcr.io -u ${{ github.actor }} -p "${{ secrets.GITHUB_TOKEN }}"
135
135
- name : Build and publish docker images
@@ -143,7 +143,7 @@ jobs:
143
143
runs-on : ubuntu-latest
144
144
steps :
145
145
- run : echo "VERSION=${GITHUB_REF#refs/*/}" >> ${GITHUB_ENV} # Sets VERSION env var.
146
- - uses : actions/checkout@v3
146
+ - uses : actions/checkout@v4
147
147
- name : Build binaries
148
148
run : |
149
149
mkdir -p ./bin
0 commit comments