Skip to content

Commit

Permalink
explicitly define go version (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewhammond authored Nov 18, 2023
1 parent 6d9b8dd commit 4eecd41
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.21.4'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.21.4'
cache: true
cache-dependency-path: go.sum
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.21.4'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.21.4'
cache: true
-
name: Run GoReleaser
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN HOST_ARCH=$TARGETARCH NODE_ENV='production' NODE_ONLINE_ENV='online' NODE_OP
###################
# Go build stage
###################
FROM --platform=$BUILDPLATFORM golang:1.21 as go-builder
FROM --platform=$BUILDPLATFORM golang:1.21.4 as go-builder
WORKDIR /go/src/github.com/drewhammond/chefbrowser
COPY go.* ./
RUN go mod download
Expand Down

0 comments on commit 4eecd41

Please sign in to comment.