chore(build): upgrade Go from 1.21 to 1.22

This commit is contained in:
Quentin McGaw
2024-05-03 07:23:07 +00:00
parent d3541da812
commit b131c3d90b
3 changed files with 6 additions and 3 deletions

View File

@@ -73,6 +73,9 @@ jobs:
security-events: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "^1.22"
- uses: github/codeql-action/init@v3
with:
languages: go
@@ -152,7 +155,7 @@ jobs:
- if: github.event_name == 'release'
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22
- if: github.event_name == 'release'
uses: goreleaser/goreleaser-action@v5

View File

@@ -1,6 +1,6 @@
ARG BUILDPLATFORM=linux/amd64
ARG ALPINE_VERSION=3.19
ARG GO_VERSION=1.21
ARG GO_VERSION=1.22
ARG XCPUTRANSLATE_VERSION=v0.6.0
ARG GOLANGCI_LINT_VERSION=v1.55.2
ARG MOCKGEN_VERSION=v1.6.0

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/qdm12/ddns-updater
go 1.21
go 1.22
require (
github.com/breml/rootcerts v0.2.16