Skip to content

Commit 85b1a44

Browse files
committed
Workflow build enviroment
1 parent 42b182f commit 85b1a44

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
run: |
2626
go mod tidy
2727
# Step 4: Run Go Linter (golangci-lint)
28+
- name: Install golangci-lint
29+
run: |
30+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2
31+
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
32+
2833
- name: Run Go Linter
2934
run: golangci-lint run --disable-all -E gofmt -E govet --timeout=5m
3035

0 commit comments

Comments
 (0)