From e6510a780112864226b20f22039b74290a7b1b1b Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Wed, 23 Oct 2024 15:38:13 +1000 Subject: [PATCH] build: Update Go versions to 1.22 in workflows and Dockerfile --- .github/workflows/golangci-lint.yaml | 2 +- .github/workflows/goreleaser.yaml | 2 +- .github/workflows/test.yaml | 2 +- Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index daf5e590..89d28ceb 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.22 - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 4defe41f..286b477b 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -37,7 +37,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.22' - name: Set up NodeJS uses: actions/setup-node@v3 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index eeb605cf..26a17a59 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,7 +10,7 @@ jobs: full_ci: strategy: matrix: - go_version: [ 1.18.x ] + go_version: [ 1.22.x ] runs-on: ubuntu-20.04 diff --git a/Dockerfile b/Dockerfile index e6c03676..f000c144 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 AS builder +FROM golang:1.22 AS builder WORKDIR /src COPY go.sum go.mod ./ RUN go mod download