Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from Szzrain/ci/review_dog
Browse files Browse the repository at this point in the history
ci: test again
  • Loading branch information
Szzrain authored Oct 19, 2024
2 parents fb23ed9 + 8ddacdc commit d72a333
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- name: Code
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- name: Install Go
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion dice/platform_adapter_gocq.go
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ func (pa *PlatformAdapterGocq) Serve() int {

if len(m2) == len(items) {
ok := true
//test if i can trigger the review dog
//test if i can trigger the review dog 1111

Check failure on line 701 in dice/platform_adapter_gocq.go

View workflow job for this annotation

GitHub Actions / Test & Lint

commentFormatting: put a space between `//` and comment text (gocritic)
for i := range len(m2) {

Check failure on line 702 in dice/platform_adapter_gocq.go

View workflow job for this annotation

GitHub Actions / Test & Lint

for loop can be changed to `i := range m2` (intrange)
if m2[i] != items[i] {
ok = false
Expand Down

0 comments on commit d72a333

Please sign in to comment.