From 6aad1a99766e42cf6651b021660ae9675ab30010 Mon Sep 17 00:00:00 2001 From: Andreas Fritzler Date: Thu, 8 Feb 2024 10:40:59 +0100 Subject: [PATCH] Bump golang to 1.22 and golangci-lint to 1.56.0 - Bump golang to 1.22 - Bump golangci-lint to 1.56.0 - Configure `chore` label in autolabeler --- .github/release-drafter.yml | 6 ++++++ .github/workflows/lint.yml | 2 +- Makefile | 2 +- go.mod | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index d7c6b8ee..07c5a235 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -52,6 +52,12 @@ autolabeler: - '/enh\/.+/' body: - '/JIRA-[0-9]{1,4}/' + - label: 'enhancement' + branch: + - '/enh\/.+/' + - label: 'chore' + branch: + - '/chore\/.+/' template: | ## Changes $CHANGES diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d48d45f5..ddfedf31 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,4 +17,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.55.2 + version: v1.56.0 diff --git a/Makefile b/Makefile index 2d661f01..dc7b7828 100644 --- a/Makefile +++ b/Makefile @@ -353,7 +353,7 @@ CONTROLLER_TOOLS_VERSION ?= v0.13.0 GEN_CRD_API_REFERENCE_DOCS_VERSION ?= v0.3.0 ADDLICENSE_VERSION ?= v1.1.1 GOIMPORTS_VERSION ?= v0.13.0 -GOLANGCI_LINT_VERSION ?= v1.55.2 +GOLANGCI_LINT_VERSION ?= v1.56.0 OPENAPI_EXTRACTOR_VERSION ?= v0.1.4 KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" diff --git a/go.mod b/go.mod index 39f995c6..b05dd34d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ironcore-dev/ironcore-net -go 1.21 +go 1.22 require ( github.com/bits-and-blooms/bitset v1.13.0