Skip to content

improve comment

improve comment #1030

Triggered via push July 19, 2024 03:26
Status Failure
Total duration 44s
Artifacts

go.yml

on: push
Matrix: Test
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

57 errors and 7 warnings
Test (1.16)
//go:build comment without // +build comment
Test (1.16)
Process completed with exit code 1.
Test (1.18)
The job was canceled because "_1_16" failed.
Test (1.18)
The operation was canceled.
Test (1.17)
The job was canceled because "_1_16" failed.
Test (1.17)
The operation was canceled.
golangci-lint (1.17): domain/openapi/mgnt.go#L3
import 'github.com/silenceper/wechat/v2/util' is not allowed from list 'Main' (depguard)
golangci-lint (1.17): miniprogram/config/config.go#L5
import 'github.com/silenceper/wechat/v2/cache' is not allowed from list 'Main' (depguard)
golangci-lint (1.17): miniprogram/context/context.go#L4
import 'github.com/silenceper/wechat/v2/credential' is not allowed from list 'Main' (depguard)
golangci-lint (1.17): miniprogram/context/context.go#L5
import 'github.com/silenceper/wechat/v2/miniprogram/config' is not allowed from list 'Main' (depguard)
golangci-lint (1.17): officialaccount/config/config.go#L4
import 'github.com/silenceper/wechat/v2/cache' is not allowed from list 'Main' (depguard)
golangci-lint (1.17): officialaccount/context/context.go#L4
import 'github.com/silenceper/wechat/v2/credential' is not allowed from list 'Main' (depguard)
golangci-lint (1.17): officialaccount/context/context.go#L5
import 'github.com/silenceper/wechat/v2/officialaccount/config' is not allowed from list 'Main' (depguard)
golangci-lint (1.17): internal/openapi/mgnt.go#L7
import 'github.com/silenceper/wechat/v2/domain/openapi' is not allowed from list 'Main' (depguard)
golangci-lint (1.17): internal/openapi/mgnt.go#L8
import 'github.com/silenceper/wechat/v2/miniprogram/context' is not allowed from list 'Main' (depguard)
golangci-lint (1.17): internal/openapi/mgnt.go#L9
import 'github.com/silenceper/wechat/v2/officialaccount/context' is not allowed from list 'Main' (depguard)
Test (1.19)
The job was canceled because "_1_16" failed.
Test (1.19)
The operation was canceled.
golangci-lint (1.19)
The job was canceled because "_1_17" failed.
golangci-lint (1.19): domain/openapi/mgnt.go#L3
import 'github.com/silenceper/wechat/v2/util' is not allowed from list 'Main' (depguard)
golangci-lint (1.19): miniprogram/config/config.go#L5
import 'github.com/silenceper/wechat/v2/cache' is not allowed from list 'Main' (depguard)
golangci-lint (1.19): miniprogram/context/context.go#L4
import 'github.com/silenceper/wechat/v2/credential' is not allowed from list 'Main' (depguard)
golangci-lint (1.19): miniprogram/context/context.go#L5
import 'github.com/silenceper/wechat/v2/miniprogram/config' is not allowed from list 'Main' (depguard)
golangci-lint (1.19): officialaccount/config/config.go#L4
import 'github.com/silenceper/wechat/v2/cache' is not allowed from list 'Main' (depguard)
golangci-lint (1.19): officialaccount/context/context.go#L4
import 'github.com/silenceper/wechat/v2/credential' is not allowed from list 'Main' (depguard)
golangci-lint (1.19): officialaccount/context/context.go#L5
import 'github.com/silenceper/wechat/v2/officialaccount/config' is not allowed from list 'Main' (depguard)
golangci-lint (1.19): internal/openapi/mgnt.go#L7
import 'github.com/silenceper/wechat/v2/domain/openapi' is not allowed from list 'Main' (depguard)
golangci-lint (1.19): internal/openapi/mgnt.go#L8
import 'github.com/silenceper/wechat/v2/miniprogram/context' is not allowed from list 'Main' (depguard)
golangci-lint (1.19): internal/openapi/mgnt.go#L9
import 'github.com/silenceper/wechat/v2/officialaccount/context' is not allowed from list 'Main' (depguard)
golangci-lint (1.18)
The job was canceled because "_1_17" failed.
golangci-lint (1.18): domain/openapi/mgnt.go#L3
import 'github.com/silenceper/wechat/v2/util' is not allowed from list 'Main' (depguard)
golangci-lint (1.18): miniprogram/config/config.go#L5
import 'github.com/silenceper/wechat/v2/cache' is not allowed from list 'Main' (depguard)
golangci-lint (1.18): miniprogram/context/context.go#L4
import 'github.com/silenceper/wechat/v2/credential' is not allowed from list 'Main' (depguard)
golangci-lint (1.18): miniprogram/context/context.go#L5
import 'github.com/silenceper/wechat/v2/miniprogram/config' is not allowed from list 'Main' (depguard)
golangci-lint (1.18): officialaccount/config/config.go#L4
import 'github.com/silenceper/wechat/v2/cache' is not allowed from list 'Main' (depguard)
golangci-lint (1.18): officialaccount/context/context.go#L4
import 'github.com/silenceper/wechat/v2/credential' is not allowed from list 'Main' (depguard)
golangci-lint (1.18): officialaccount/context/context.go#L5
import 'github.com/silenceper/wechat/v2/officialaccount/config' is not allowed from list 'Main' (depguard)
golangci-lint (1.18): internal/openapi/mgnt.go#L7
import 'github.com/silenceper/wechat/v2/domain/openapi' is not allowed from list 'Main' (depguard)
golangci-lint (1.18): internal/openapi/mgnt.go#L8
import 'github.com/silenceper/wechat/v2/miniprogram/context' is not allowed from list 'Main' (depguard)
golangci-lint (1.18): internal/openapi/mgnt.go#L9
import 'github.com/silenceper/wechat/v2/officialaccount/context' is not allowed from list 'Main' (depguard)
golangci-lint (1.16)
The job was canceled because "_1_17" failed.
golangci-lint (1.16): openplatform/officialaccount/officialaccount.go#L35
officialAccount.GetContext undefined (type *OfficialAccount has no field or method GetContext) (typecheck)
golangci-lint (1.16): openplatform/officialaccount/officialaccount.go#L40
officialAccount.GetContext undefined (type *OfficialAccount has no field or method GetContext) (typecheck)
golangci-lint (1.16): cache/redis_test.go#L12
undefined: miniredis (typecheck)
golangci-lint (1.16)
issues found
golangci-lint (1.21.4)
The job was canceled because "_1_17" failed.
golangci-lint (1.21.4)
The operation was canceled.
Test (1.21)
The job was canceled because "_1_16" failed.
Test (1.21)
The operation was canceled.
golangci-lint (1.20)
The job was canceled because "_1_17" failed.
golangci-lint (1.20)
The operation was canceled.
golangci-lint (1.22)
The job was canceled because "_1_17" failed.
golangci-lint (1.22)
The operation was canceled.
Test (1.22)
The job was canceled because "_1_16" failed.
Test (1.22)
The operation was canceled.
Test (1.20)
The job was canceled because "_1_16" failed.
Test (1.20)
The operation was canceled.
golangci-lint (1.17)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.19)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.18)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.16)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.21.4)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.20)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.22)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum