We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24ad1b commit b17fcd9Copy full SHA for b17fcd9
.github/workflows/ci.yaml
@@ -126,7 +126,8 @@ jobs:
126
127
- name: Get golangci-lint cache dir
128
run: |
129
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.2
+ linter_ver=$(egrep -o 'GOLANGCI_LINT_VERSION=\S+' dogfood/Dockerfile | cut -d '=' -f 2)
130
+ go install github.com/golangci/golangci-lint/cmd/golangci-lint@v$linter_ver
131
dir=$(golangci-lint cache status | awk '/Dir/ { print $2 }')
132
echo "LINT_CACHE_DIR=$dir" >> $GITHUB_ENV
133
0 commit comments