diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5109f0d..39622e4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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 diff --git a/.golangci.yml b/.golangci.yml index 24f0b40..6b93e61 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 13ec6c9..9226ad2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/go.mod b/go.mod index 0d9bb7b..108499d 100644 --- a/go.mod +++ b/go.mod @@ -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