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 832a5f0 commit 67503c7Copy full SHA for 67503c7
README.md
@@ -1,5 +1,25 @@
1
# golangci-lint-action
2
3
-Work in progress
+
4
+
5
+Action that runs [golangci-lint](https://github.com/golangci/golangci-lint) and reports issues from linters.
6
7
+You can put `.github/workflows/lint.yml` with following contents:
8
+```yaml
9
+name: golangci
10
+on: [push]
11
+jobs:
12
+ golangci:
13
+ name: lint
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Check out code into the Go module directory
17
+ uses: actions/checkout@v1
18
+ - name: golangci-lint
19
+ uses: golangci/[email protected]
20
+ with:
21
+ github_token: ${{ secrets.github_token }}
22
23
+```
24
25
Based on [reviewdog action](https://github.com/reviewdog/action-golangci-lint).
0 commit comments