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