Skip to content

Commit 4eecd41

Browse files
authored
explicitly define go version (#267)
1 parent 6d9b8dd commit 4eecd41

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
name: Set up Go
4545
uses: actions/setup-go@v4
4646
with:
47-
go-version: '1.21'
47+
go-version: '1.21.4'
4848

4949
# Initializes the CodeQL tools for scanning.
5050
- name: Initialize CodeQL

.github/workflows/go-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v4
99
- uses: actions/setup-go@v4
1010
with:
11-
go-version: '1.21'
11+
go-version: '1.21.4'
1212
cache: true
1313
cache-dependency-path: go.sum
1414
- uses: actions/setup-node@v3

.github/workflows/golangci-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v4
2121
with:
22-
go-version: '1.21'
22+
go-version: '1.21.4'
2323
- name: golangci-lint
2424
uses: golangci/[email protected]
2525
with:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
name: Set up Go
2626
uses: actions/setup-go@v4
2727
with:
28-
go-version: '1.21'
28+
go-version: '1.21.4'
2929
cache: true
3030
-
3131
name: Run GoReleaser

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN HOST_ARCH=$TARGETARCH NODE_ENV='production' NODE_ONLINE_ENV='online' NODE_OP
2828
###################
2929
# Go build stage
3030
###################
31-
FROM --platform=$BUILDPLATFORM golang:1.21 as go-builder
31+
FROM --platform=$BUILDPLATFORM golang:1.21.4 as go-builder
3232
WORKDIR /go/src/github.com/drewhammond/chefbrowser
3333
COPY go.* ./
3434
RUN go mod download

0 commit comments

Comments
 (0)