Skip to content

Commit f42b601

Browse files
authored
chore: update github action linter (#65)
1 parent 8d67753 commit f42b601

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: golangci-lint
2+
on: [pull_request]
3+
jobs:
4+
golangci-lint:
5+
name: lint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Check out code into the Go module directory
9+
uses: actions/checkout@v2
10+
with:
11+
fetch-depth: 0
12+
- name: golangci-lint
13+
uses: golangci/[email protected]
14+
with:
15+
version: latest
16+
github-token: ${{ secrets.github_token }}
17+
args: "--enable-all --exclude-use-default=false -D errcheck -D gomnd"
18+
only-new-issues: true

.github/workflows/reviewdog.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*.so
66
*.dylib
77
.idea
8+
*.iml
89

910
**/.openapi-generator
1011

0 commit comments

Comments
 (0)