Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Update Go to 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Carlisle Huson <[email protected]>
  • Loading branch information
chuson committed Dec 1, 2023
1 parent 6b49c34 commit 1a29b78
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.21'
- name: goimports
run: go get golang.org/x/tools/cmd/goimports && goimports -d . | (! grep .)
# Workaround for missing checksums caused by https://github.com/golang/go/issues/44129
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.21'
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ linters-settings:
- name: waitgroup-by-value

staticcheck:
go: "1.18"
go: "1.21"

unused:
go: "1.18"
go: "1.21"

output:
sort-results: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18-alpine as builder
FROM golang:1.21-alpine as builder
RUN apk add --update make
ADD ./ /src
WORKDIR /src
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/packethost/cacher

go 1.18
go 1.21

require (
github.com/equinix-labs/otel-init-go v0.0.9
Expand Down

0 comments on commit 1a29b78

Please sign in to comment.