Skip to content

Commit

Permalink
delete flag and token config
Browse files Browse the repository at this point in the history
  • Loading branch information
get-me-power committed May 16, 2020
1 parent 568ef1f commit ab65a79
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/reviewdog.yml
Expand Up @@ -13,9 +13,6 @@ jobs:
- name: golangci-lint
# uses: ./ # Build with Dockerfile
uses: docker://reviewdog/action-golangci-lint:v1 # Pre-built image
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--config=.github/.golangci.yml ./testdata"

golangci-lint-all-in-one:
name: runner / golangci-lint-all-in-one
Expand All @@ -25,9 +22,6 @@ jobs:
uses: actions/checkout@v2
- name: golangci-lint (All-In-One config)
uses: docker://reviewdog/action-golangci-lint:v1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--enable-all --exclude-use-default=false ./testdata"

govet:
name: runner / govet
Expand All @@ -37,10 +31,6 @@ jobs:
uses: actions/checkout@v2
- name: govet
uses: docker://reviewdog/action-golangci-lint:v1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--disable-all -E govet ./testdata"
tool_name: govet

staticcheck:
name: runner / staticcheck
Expand All @@ -50,10 +40,6 @@ jobs:
uses: actions/checkout@v2
- name: staticcheck
uses: docker://reviewdog/action-golangci-lint:v1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--disable-all -E staticcheck ./testdata"
tool_name: staticcheck

golint:
name: runner / golint
Expand All @@ -64,9 +50,6 @@ jobs:
- name: golint
uses: docker://reviewdog/action-golangci-lint:v1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--disable-all -E golint ./testdata"
tool_name: golint
level: warning

errcheck:
Expand All @@ -78,9 +61,6 @@ jobs:
- name: errcheck
uses: docker://reviewdog/action-golangci-lint:v1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--disable-all -E errcheck ./testdata"
tool_name: errcheck
level: warning

misspell:
Expand All @@ -92,7 +72,4 @@ jobs:
- name: misspell
uses: docker://reviewdog/action-golangci-lint:v1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--disable-all -E misspell ./testdata"
tool_name: misspell
level: info

0 comments on commit ab65a79

Please sign in to comment.