Skip to content

Commit 31ea777

Browse files
committed
Upgrade Go to 1.21
1 parent 9379260 commit 31ea777

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/reusable-lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ jobs:
5151
with:
5252
go-version: ${{ inputs.go-version }}
5353
- run: go env
54+
- name: Set golangci-lint version
55+
run: echo "GOLANGCI_LINT_VERSION=$(make --no-print-directory print-GOLANGCI_LINT_VERSION)" >> $GITHUB_ENV
5456
- name: lint-${{ matrix.directory }}
5557
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3.6.0
5658
with:
5759
working-directory: ${{ matrix.directory }}
58-
version: v1.51.1
60+
version: ${{ env.GOLANGCI_LINT_VERSION }}
5961
args: --build-tags="${{ env.GOTAGS }}" -v
6062
skip-cache: true

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.20.12
1+
1.21.5

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GO_MODULES := $(shell find . -name go.mod -exec dirname {} \; | grep -v "proto-g
1010
# These version variables can either be a valid string for "go install <module>@<version>"
1111
# or the string @DEV to imply use what is currently installed locally.
1212
###
13-
GOLANGCI_LINT_VERSION='v1.51.1'
13+
GOLANGCI_LINT_VERSION='v1.55.2'
1414
MOCKERY_VERSION='v2.37.1'
1515
BUF_VERSION='v1.26.0'
1616

0 commit comments

Comments
 (0)