Skip to content

Commit

Permalink
Update go version to 1.22 in go.yml and go.mod files
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdoc committed May 7, 2024
1 parent 17af108 commit a75ef8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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 . .
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/chrisdoc/homewizard-p1-prometheus

go 1.21
go 1.22

toolchain go1.22.1

Expand Down

0 comments on commit a75ef8a

Please sign in to comment.