From 3a370e119a9647514503658fce57f3ff49a5ebee Mon Sep 17 00:00:00 2001 From: Adam Hughes Date: Fri, 11 Feb 2022 18:31:04 +0000 Subject: [PATCH 1/2] chore: bump Go version range to 1.17-1.18 Bump Go versions used in CI to 1.17 and 1.18. Remove deprecated build constraint format. Signed-off-by: Edita Kizinevic --- .github/workflows/ci.yml | 2 +- mage.go | 3 +-- magefile.go | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e3da863..7455763b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: '1.17.x' + go-version: '1.18.x' - name: Check go.mod and go.sum are tidy run: | diff --git a/mage.go b/mage.go index 74599921..a8104792 100644 --- a/mage.go +++ b/mage.go @@ -2,13 +2,12 @@ // Apptainer a Series of LF Projects LLC. // For website terms of use, trademark policy, privacy policy and other // project policies see https://lfprojects.org/policies -// Copyright (c) 2021, Sylabs Inc. All rights reserved. +// Copyright (c) 2021-2022, Sylabs Inc. All rights reserved. // This software is licensed under a 3-clause BSD license. Please consult the // LICENSE file distributed with the sources of this project regarding your // rights to use or distribute this software. //go:build ignore -// +build ignore package main diff --git a/magefile.go b/magefile.go index 250b2d2c..f2e8a605 100644 --- a/magefile.go +++ b/magefile.go @@ -2,13 +2,12 @@ // Apptainer a Series of LF Projects LLC. // For website terms of use, trademark policy, privacy policy and other // project policies see https://lfprojects.org/policies -// Copyright (c) 2021, Sylabs Inc. All rights reserved. +// Copyright (c) 2021-2022, Sylabs Inc. All rights reserved. // This software is licensed under a 3-clause BSD license. Please consult the // LICENSE file distributed with the sources of this project regarding your // rights to use or distribute this software. //go:build mage -// +build mage package main From 2627f100bb03e7ca912f8e53fcd0515c48726f78 Mon Sep 17 00:00:00 2001 From: Edita Kizinevic Date: Mon, 21 Mar 2022 14:53:17 +0100 Subject: [PATCH 2/2] Bump golangci-lint to v1.45 Signed-off-by: Edita Kizinevic --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7455763b..aef74a32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Install Lint uses: golangci/golangci-lint-action@v2 with: - version: v1.44 + version: v1.45 skip-pkg-cache: true skip-build-cache: true