We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83ec3a9 commit 4564da3Copy full SHA for 4564da3
.github/workflows/lint.yml
@@ -18,4 +18,4 @@ jobs:
18
- name: golangci-lint
19
uses: golangci/golangci-lint-action@v8
20
with:
21
- version: v2.10.1
+ version-file: .tool-versions
.tool-versions
@@ -0,0 +1 @@
1
+golangci-lint 2.10.1
Makefile
@@ -37,7 +37,7 @@ lint: bin/golangci-lint
37
bin/golangci-lint run --fix
38
39
bin/golangci-lint:
40
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b bin/ v2.10.1
+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b bin/ v$$(awk '/^golangci-lint[[:space:]]/ { print $2 }' .tool-versions)
41
42
.ONESHELL:
43
version:
0 commit comments