You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ju...@apache.org on 2023/05/29 02:19:46 UTC
[dubbo-go-samples] branch lint-ci created (now 3a7895f5)
This is an automated email from the ASF dual-hosted git repository.
justxuewei pushed a change to branch lint-ci
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
at 3a7895f5 Change the Lint to golangci/golangci-lint-action@v3
This branch includes the following new commits:
new 3a7895f5 Change the Lint to golangci/golangci-lint-action@v3
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[dubbo-go-samples] 01/01: Change the Lint to golangci/golangci-lint-action@v3
Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
justxuewei pushed a commit to branch lint-ci
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
commit 3a7895f50b8815598a335bb68de9fc0e26b2ff98
Author: Xuewei Niu <ju...@apache.org>
AuthorDate: Mon May 29 10:19:41 2023 +0800
Change the Lint to golangci/golangci-lint-action@v3
---
.github/workflows/github-actions.yml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml
index 48b24633..535476a0 100644
--- a/.github/workflows/github-actions.yml
+++ b/.github/workflows/github-actions.yml
@@ -59,11 +59,8 @@ jobs:
go fmt ./... && git status && [[ -z `git status -s` ]]
# diff -u <(echo -n) <(gofmt -d -s .)
- - name: Install go ci lint
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.41.1
-
- name: Run Linter
- run: golangci-lint run --timeout=10m -v
+ uses: golangci/golangci-lint-action@v3
- name: License
run: make -f build/Makefile license