Skip to content

Commit

Permalink
Upgrade golang to 1.19 (#247)
Browse files Browse the repository at this point in the history
* Upgrade golang to 1.19

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>

* Upgrade linter
  • Loading branch information
davidkarlsen authored Aug 5, 2022
1 parent 2f9d4e0 commit 7eb96b5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.46.2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.47.3
golangci-lint run --timeout=10m ./...
- name: Helm Lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.46.2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.47.3
golangci-lint run --timeout=10m ./...
- name: Install kubectl
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY ./frontend ./
RUN yarn install --network-timeout 1000000 && yarn build

# Build the manager binary
FROM --platform=${BUILDPLATFORM} golang:1.18 as builder
FROM --platform=${BUILDPLATFORM} golang:1.19 as builder

ARG TARGETOS
ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/stakater/Forecastle

go 1.18
go 1.19

require (
github.com/gobuffalo/packr/v2 v2.8.3
Expand Down

0 comments on commit 7eb96b5

Please sign in to comment.