Update review dog config
This commit is contained in:
parent
a9d27293de
commit
e46ffe68fe
12
.github/workflows/reviewdog.yml
vendored
12
.github/workflows/reviewdog.yml
vendored
@ -6,12 +6,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: golangci-lint
|
with:
|
||||||
uses: reviewdog/action-golangci-lint@v2
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup reviewdog
|
- name: golangci-lint
|
||||||
uses: reviewdog/action-setup@v1
|
uses: reviewdog/action-golangci-lint@3dfdce20f5ca12d264c214abb993dbb40834da90 # v2.7.2
|
||||||
|
|
||||||
- name: gofumpt -s with reviewdog
|
- name: gofumpt -s with reviewdog
|
||||||
env:
|
env:
|
||||||
@ -19,4 +19,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
go install mvdan.cc/gofumpt@v0.2.0
|
go install mvdan.cc/gofumpt@v0.2.0
|
||||||
gofumpt -e -d . | \
|
gofumpt -e -d . | \
|
||||||
reviewdog -name="gofumpt" -f=diff -f.diff.strip=0 -reporter=github-pr-review
|
reviewdog -name="gofumpt" -f=diff -f.diff.strip=0 -reporter=github-pr-review
|
||||||
|
Loading…
x
Reference in New Issue
Block a user