Skip to content

Commit

Permalink
Merge pull request #31 from zendesk/adammw/go-1-22
Browse files Browse the repository at this point in the history
Upgrade to go 1.22
  • Loading branch information
mha authored May 8, 2024
2 parents 6dfb510 + e2d87af commit cdc8ae0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ jobs:
path: ${{ github.workspace }}/gopath/src/github.com/zendesk/${{ github.repository }}
- uses: zendesk/setup-go@v2
with:
go-version: 1.17.x
go-version: 1.22
- name: go test
run: |
unset GOPROXY
git config --global url."https://${{ secrets.ORG_GITHUB_TOKEN }}:[email protected]/".insteadOf "https://github.com/"
cd ${{ github.workspace }}/gopath/src/github.com/zendesk/${{ github.repository }}
go test ./raingutter -v
docker run --rm -i hadolint/hadolint < Dockerfile
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM scratch as scratch-base

FROM golang:1.20-alpine as builder
FROM golang:1.22-alpine as builder

RUN addgroup -g 1000 -S raingutter && adduser -u 1000 -S raingutter -G raingutter

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/zendesk/raingutter

go 1.20
go 1.22

require (
github.com/DataDog/datadog-go/v5 v5.3.0
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo=
github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
2 changes: 1 addition & 1 deletion misc/raindrops/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-alpine as builder
FROM golang:1.22-alpine as builder

LABEL maintainer "GUIDEOPS <[email protected]>"

Expand Down

0 comments on commit cdc8ae0

Please sign in to comment.