You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/06 02:27:21 UTC

[GitHub] [apisix-ingress-controller] tokers commented on a change in pull request #419: ci: add golangci-lint

tokers commented on a change in pull request #419:
URL: https://github.com/apache/apisix-ingress-controller/pull/419#discussion_r627034770



##########
File path: .github/workflows/golangci-lint.yml
##########
@@ -0,0 +1,21 @@
+name: golangci-lint
+
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
+
+jobs:
+  golangci:
+    name: lint
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: golangci-lint
+        uses: golangci/golangci-lint-action@v2
+        with:
+          # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
+          version: latest

Review comment:
       Please check your editor, EOL symbol is required.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org