Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb17fcd9

Browse files
authored
ci: use linter version from Dockerfile (#12354)
1 parentb24ad1b commitb17fcd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ jobs:
126126

127127
-name:Get golangci-lint cache dir
128128
run:|
129-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.2
129+
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
130131
dir=$(golangci-lint cache status | awk '/Dir/ { print $2 }')
131132
echo "LINT_CACHE_DIR=$dir" >> $GITHUB_ENV
132133

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp