mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
replace reviewdog fully by golangci-lint (#6139)
Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
This commit is contained in:
25
.github/workflows/reviewdog.yml
vendored
25
.github/workflows/reviewdog.yml
vendored
@@ -1,25 +0,0 @@
|
||||
name: Reviewdog
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
gofmt:
|
||||
name: Go Fmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
- run: find . -not -path '*/\.git/*' -type f -name '*.go' -exec gofmt -s -w {} \+
|
||||
- uses: reviewdog/action-suggester@8f83d27e749053b2029600995c115026a010408e
|
||||
|
||||
whitespace:
|
||||
name: Whitespace
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||
- run: find . -not -path '*/\.git/*' -type f -not -name '*.go' -exec sed -i 's/[[:space:]]\{1,\}$//' {} \+
|
||||
- uses: reviewdog/action-suggester@8f83d27e749053b2029600995c115026a010408e
|
||||
Reference in New Issue
Block a user