Skip to content

Commit 6b1ac39

Browse files
committed
fix: Replace non-existent reviewdog action
- Remove reviewdog/action-go-test which doesn't exist - Replace with standard Go test command - Maintain all other workflow improvements and updates - Keep the same testing functionality but using a direct command This fixes the CI pipeline error: "Unable to resolve action reviewdog/action-go-test, repository not found"
1 parent f16ff02 commit 6b1ac39

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/reviewdog.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: reviewdog
22
on:
33
push:
4-
branches: [ main, master ]
4+
branches: [main, master]
55
pull_request:
6-
branches: [ main, master ]
6+
branches: [main, master]
77

88
jobs:
99
golangci-lint:
@@ -27,27 +27,23 @@ jobs:
2727
steps:
2828
- name: Check out code
2929
uses: actions/checkout@v4
30-
30+
3131
- name: Set up Go
3232
uses: actions/setup-go@v4
3333
with:
34-
go-version: '1.22'
34+
go-version: "1.22"
3535
cache: true
36-
37-
- name: go test
38-
uses: reviewdog/action-go-test@v1
39-
with:
40-
github_token: ${{ secrets.github_token }}
41-
reporter: github-pr-review
42-
go_version: '1.22'
36+
37+
- name: Run tests
38+
run: go test -v ./...
4339

4440
misspell:
4541
name: runner / misspell
4642
runs-on: ubuntu-latest
4743
steps:
4844
- name: Check out code
4945
uses: actions/checkout@v4
50-
46+
5147
- name: misspell
5248
uses: reviewdog/action-misspell@v1
5349
with:

0 commit comments

Comments
 (0)