Skip to content

Commit a625d03

Browse files
authored
CI: update reviewdog config for deprecated fail_on_error (#6196)
1 parent 548e3f6 commit a625d03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/reviewdog.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
- name: Make libsodium.a
2020
run: sudo mv /usr/bin/go /usr/bin/go.bak && make crypto/libs/linux/amd64/lib/libsodium.a && sudo mv /usr/bin/go.bak /usr/bin/go
2121
- name: reviewdog-golangci-lint
22-
uses: reviewdog/action-golangci-lint@v2.6.2
22+
uses: reviewdog/action-golangci-lint@v2.7.0
2323
with:
2424
go_version_file: go.mod
2525
golangci_lint_version: ${{ env.GOLANGCI_LINT_VERSION }}
2626
golangci_lint_flags: "-c .golangci.yml --allow-parallel-runners"
2727
reporter: "github-pr-check"
2828
tool_name: "Lint Errors"
2929
level: "error"
30-
fail_on_error: true
30+
fail_level: any
3131
filter_mode: "nofilter"
3232
# Non-Blocking Warnings Section
3333
reviewdog-warnings:
@@ -71,7 +71,7 @@ jobs:
7171
cd ../../
7272
- name: Install reviewdog
7373
run: |
74-
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/v0.20.2/install.sh | sh -s -- v0.20.2
74+
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/v0.20.3/install.sh | sh -s -- v0.20.3
7575
reviewdog --version
7676
- name: Build custom linters
7777
run: |
@@ -96,7 +96,7 @@ jobs:
9696
-name="Lint Warnings" \
9797
-reporter=github-pr-check \
9898
-filter-mode=added \
99-
-fail-on-error=true \
99+
-fail-level=any \
100100
-level=warning
101101
- name: Slack Notification
102102
env:
@@ -109,11 +109,11 @@ jobs:
109109
steps:
110110
- uses: actions/checkout@v4
111111
- name: shellcheck
112-
uses: reviewdog/action-shellcheck@v1
112+
uses: reviewdog/action-shellcheck@v1.28.0
113113
with:
114114
github_token: ${{ secrets.GITHUB_TOKEN }}
115115
reporter: "github-pr-check"
116116
shellcheck_flags: "-e SC2034,SC2046,SC2053,SC2207,SC2145 -S warning"
117-
fail_on_error: true
117+
fail_level: any
118118
path: |
119119
test/scripts/e2e_subs

0 commit comments

Comments
 (0)