From dd8ff5ee0cd61db055f73fc2352d6430c72c78b2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Feb 2024 20:52:45 +0100 Subject: [PATCH] Build using Go 1.22 (#356) * Bump golang from 1.21-alpine to 1.22-alpine Bumps golang from 1.21-alpine to 1.22-alpine. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Update go version in mod file and lint action --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Frederik Ring --- .github/workflows/golangci-lint.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index e2119b7..197dae6 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/Dockerfile b/Dockerfile index 6d0be0d..3cf6f0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Copyright 2021 - Offen Authors # SPDX-License-Identifier: MPL-2.0 -FROM golang:1.21-alpine as builder +FROM golang:1.22-alpine as builder WORKDIR /app COPY . . diff --git a/go.mod b/go.mod index 20755c1..cedbb00 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/offen/docker-volume-backup -go 1.21 +go 1.22 require ( github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.5.1