From a75ef8aa34febfc37e5e933bcfa85567765d7175 Mon Sep 17 00:00:00 2001 From: Christoph Kieslich Date: Tue, 7 May 2024 09:16:20 +0200 Subject: [PATCH] Update go version to 1.22 in go.yml and go.mod files --- .github/workflows/go.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 47ae944..d311dfa 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: ['1.21', '1.22'] + go-version: ['1.22'] steps: - uses: actions/checkout@v4 - name: Setup Go diff --git a/Dockerfile b/Dockerfile index cc1a47a..6018290 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 as builder +FROM golang:1.22 as builder WORKDIR /go/src/github.com/chrisdoc/homewizard-p1-prometheus/ COPY . . diff --git a/go.mod b/go.mod index 37e1e90..13b2ac2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/chrisdoc/homewizard-p1-prometheus -go 1.21 +go 1.22 toolchain go1.22.1