1212 GOPRIVATE : " flant.internal"
1313 PRIVATE_REPO : " ${{secrets.DECKHOUSE_PRIVATE_REPO}}"
1414 GOLANGCI_LINT_VERSION : ' v2.11.4'
15- GO_IMAGE : registry.deckhouse.io/container-factory@sha256:ce80d4ec2053430e81b1a07492a403c4fb5382a27570984318ea75b87bbe5109
1615
1716permissions :
1817 contents : write
4039 libssl-dev `# delivery-kit: OpenSSL crypto for signature verification (CGO)` \
4140 libuv1-dev `# delivery-kit: async I/O for libuv-based networking (CGO)` \
4241 libzstd-dev `# delivery-kit: zstd compression support (CGO)` \
43- file git gcc dnsutils curl
42+ file git gcc dnsutils
4443 # libuv1-dev ships static lib as libuv_a.a; the linker expects libuv.a
4544 ln -fs "$(dpkg -L libuv1-dev | grep -F '/libuv_a.a')" /usr/local/lib/libuv.a
4645
@@ -49,14 +48,11 @@ jobs:
4948 with :
5049 fetch-depth : 0 # To use `git describe --tags`
5150
52- - name : Install Crane
53- uses : imjasonh/setup-crane@v0.7
54-
5551 - name : Setup Go
56- run : |
57- crane export "$GO_IMAGE" - | tar -x -C / --no-same-owner usr/local/go
58- echo "/usr/local/go/bin" >> "$GITHUB_PATH "
59- /usr/local/go/bin/go version
52+ uses : actions/setup-go@v5
53+ with :
54+ go-version : " 1.23 "
55+ cache : false # Cache download takes longer that a build from scratch
6056
6157 - name : Setup Task
6258 uses : arduino/setup-task@v2
@@ -117,7 +113,7 @@ jobs:
117113 libssl-dev `# delivery-kit: OpenSSL crypto for signature verification (CGO)` \
118114 libuv1-dev `# delivery-kit: async I/O for libuv-based networking (CGO)` \
119115 libzstd-dev `# delivery-kit: zstd compression support (CGO)` \
120- file git gcc dnsutils curl
116+ file git gcc dnsutils
121117 # libuv1-dev ships static lib as libuv_a.a; the linker expects libuv.a
122118 ln -fs "$(dpkg -L libuv1-dev | grep -F '/libuv_a.a')" /usr/local/lib/libuv.a
123119
@@ -126,14 +122,11 @@ jobs:
126122 with :
127123 fetch-depth : 0 # To use `git describe --tags`
128124
129- - name : Install Crane
130- uses : imjasonh/setup-crane@v0.7
131-
132125 - name : Setup Go
133- run : |
134- crane export "$GO_IMAGE" - | tar -x -C / --no-same-owner usr/local/go
135- echo "/usr/local/go/bin" >> "$GITHUB_PATH "
136- /usr/local/go/bin/go version
126+ uses : actions/setup-go@v5
127+ with :
128+ go-version : " 1.23 "
129+ cache : false # Cache download takes longer that a build from scratch
137130
138131 - name : Setup Task
139132 uses : arduino/setup-task@v2
@@ -190,7 +183,7 @@ jobs:
190183 libssl-dev `# delivery-kit: OpenSSL crypto for signature verification (CGO)` \
191184 libuv1-dev `# delivery-kit: async I/O for libuv-based networking (CGO)` \
192185 libzstd-dev `# delivery-kit: zstd compression support (CGO)` \
193- file git gcc dnsutils curl
186+ file git gcc dnsutils
194187 # libuv1-dev ships static lib as libuv_a.a; the linker expects libuv.a
195188 ln -fs "$(dpkg -L libuv1-dev | grep -F '/libuv_a.a')" /usr/local/lib/libuv.a
196189
@@ -199,14 +192,11 @@ jobs:
199192 with :
200193 fetch-depth : 0 # To use `git describe --tags`
201194
202- - name : Install Crane
203- uses : imjasonh/setup-crane@v0.7
204-
205195 - name : Setup Go
206- run : |
207- crane export "$GO_IMAGE" - | tar -x -C / --no-same-owner usr/local/go
208- echo "/usr/local/go/bin" >> "$GITHUB_PATH "
209- /usr/local/go/bin/go version
196+ uses : actions/setup-go@v5
197+ with :
198+ go-version : " 1.23 "
199+ cache : false # Cache download takes longer that a build from scratch
210200
211201 - name : Setup GolangCI-Lint
212202 uses : golangci/golangci-lint-action@v9
@@ -268,7 +258,7 @@ jobs:
268258 libssl-dev `# delivery-kit: OpenSSL crypto for signature verification (CGO)` \
269259 libuv1-dev `# delivery-kit: async I/O for libuv-based networking (CGO)` \
270260 libzstd-dev `# delivery-kit: zstd compression support (CGO)` \
271- file git gcc dnsutils curl
261+ file git gcc dnsutils
272262 # libuv1-dev ships static lib as libuv_a.a; the linker expects libuv.a
273263 ln -fs "$(dpkg -L libuv1-dev | grep -F '/libuv_a.a')" /usr/local/lib/libuv.a
274264
@@ -277,14 +267,11 @@ jobs:
277267 with :
278268 fetch-depth : 0 # To use `git describe --tags`
279269
280- - name : Install Crane
281- uses : imjasonh/setup-crane@v0.7
282-
283270 - name : Setup Go
284- run : |
285- crane export "$GO_IMAGE" - | tar -x -C / --no-same-owner usr/local/go
286- echo "/usr/local/go/bin" >> "$GITHUB_PATH "
287- /usr/local/go/bin/go version
271+ uses : actions/setup-go@v5
272+ with :
273+ go-version : " 1.23 "
274+ cache : false # Cache download takes longer that a build from scratch
288275
289276 - name : Setup Task
290277 uses : arduino/setup-task@v2
0 commit comments