Skip to content

Commit 6e75ff0

Browse files
committed
upping golangci version
1 parent 75ec020 commit 6e75ff0

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/test.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Test and Validate
22
on:
3+
workflow_dispatch:
34
push:
45
paths-ignore:
56
- "**.md"
@@ -39,9 +40,9 @@ jobs:
3940
with:
4041
go-version: 1.19
4142

42-
- name: Lint with golanci-lint
43-
uses: golangci/golangci-lint-action@v3
43+
- name: Lint with golangci-lint
44+
uses: golangci/golangci-lint-action@v9
4445
with:
4546
# version of golangci-lint to use
4647
# Version should stay in sync with version used for local linting (lint job in Makefile).
47-
version: v1.50.1
48+
version: v2.12.2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test:
4444

4545
lint:
4646
# Version used should stay in sync with version in CI (.github/workflows/test.yaml).
47-
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.50.1 golangci-lint run
47+
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v2.12.2 golangci-lint run
4848

4949
%/remove-local: beta-notice
5050
$(eval plugin := $(firstword $(subst /, ,$@)))

0 commit comments

Comments
 (0)