From 9ce77ce21ce7f35ebe985a6c88f091a70560e82e Mon Sep 17 00:00:00 2001 From: Andrew Dunstall Date: Thu, 16 May 2024 16:02:56 +0100 Subject: [PATCH] go: update to v1.22 --- .github/workflows/build.yaml | 6 +++--- build/Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 66b799a..5899d2e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: '1.21' + go-version: '1.22' - name: Build run: go build ./... @@ -30,7 +30,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: '1.21' + go-version: '1.22' - name: Unit Tests run: go test ./... -v @@ -49,7 +49,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: '1.21' + go-version: '1.22' - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/build/Dockerfile b/build/Dockerfile index 70d0ec0..a0db4f5 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 AS build +FROM golang:1.22 AS build ARG version diff --git a/go.mod b/go.mod index e2cc180..b42838b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/andydunstall/piko -go 1.21.1 +go 1.22 require ( github.com/gin-gonic/gin v1.10.0