build(deps): bump actions/setup-go from 4 to 5 (#49) #178
go.yml
on: push
Matrix: build
Matrix: golangci-lint
Matrix: Run Revive Action
Annotations
21 errors and 24 warnings
golangci-lint (1.18.x):
internal/jpush/client.go#L11
import 'github.com/houseme/go-push-api/internal/jpush/builder' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.18.x):
internal/mi/api/message.go#L13
import 'github.com/houseme/go-push-api/internal/helper' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.18.x):
internal/mi/api/message.go#L14
import 'github.com/houseme/go-push-api/internal/mi' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.18.x):
internal/mi/api/message.go#L15
import 'github.com/houseme/go-push-api/internal/mi/builder' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.18.x):
internal/mi/api/topic.go#L13
import 'github.com/houseme/go-push-api/internal/helper' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.18.x):
internal/mi/api/topic.go#L14
import 'github.com/houseme/go-push-api/internal/mi' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.18.x):
internal/mi/api/topic.go#L15
import 'github.com/houseme/go-push-api/internal/mi/builder' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.18.x):
internal/mi/api/tracer.go#L4
import 'github.com/houseme/go-push-api/internal/mi' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.18.x):
internal/mi/api/tracer.go#L5
import 'github.com/houseme/go-push-api/internal/mi/builder' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.18.x):
internal/helper/http.go#L9
import 'github.com/cloudwego/hertz/pkg/app/client' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x)
The job was canceled because "_1_18_x" failed.
|
golangci-lint (1.19.x):
internal/jums/jums.go#L8
import 'github.com/bytedance/sonic' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x):
internal/jums/jums.go#L9
import 'github.com/cloudwego/hertz/pkg/app/client' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x):
internal/jums/jums.go#L10
import 'github.com/cloudwego/hertz/pkg/protocol' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x):
internal/jums/jums.go#L11
import 'github.com/cloudwego/hertz/pkg/protocol/consts' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x):
internal/jums/message.go#L3
import 'github.com/gofrs/uuid' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x):
internal/jpush/client.go#L11
import 'github.com/houseme/go-push-api/internal/jpush/builder' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x):
jpush.go#L6
import 'github.com/houseme/go-push-api/internal/jums' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x):
mipush.go#L4
import 'github.com/houseme/go-push-api/internal/mi' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x):
mipush.go#L5
import 'github.com/houseme/go-push-api/internal/mi/api' is not allowed from list 'Main' (depguard)
|
golangci-lint (1.19.x):
mipush.go#L6
import 'github.com/houseme/go-push-api/internal/mi/builder' is not allowed from list 'Main' (depguard)
|
Run Revive Action (1.19.x):
internal/jpush/client.go#L59
parameter 'ctx' seems to be unused, consider removing or renaming it as _
|
Run Revive Action (1.19.x):
internal/mi/miconst.go#L145
exported const TopicAccountType should have comment (or a comment on this block) or be unexported
|
Run Revive Action (1.19.x):
internal/helper/http.go#L1
should have a package comment
|
Run Revive Action (1.19.x):
internal/mi/domain.go#L1
should have a package comment
|
Run Revive Action (1.19.x):
internal/jpush/client.go#L1
should have a package comment
|
Run Revive Action (1.19.x):
internal/mi/builder/builder.go#L1
should have a package comment
|
Run Revive Action (1.19.x):
internal/mi/api/message.go#L149
parameter 'builder' seems to be unused, consider removing or renaming it as _
|
Run Revive Action (1.19.x):
internal/mi/api/tracer.go#L15
parameter 'builder' seems to be unused, consider removing or renaming it as _
|
Run Revive Action (1.19.x):
internal/jpush/report.go#L64
parameter 'ctx' seems to be unused, consider removing or renaming it as _
|
Run Revive Action (1.19.x):
internal/helper/http.go#L26
exported func Client returns unexported type *helper.httpClient, which can be annoying to use
|
Run Revive Action (1.19.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/go-push-api/go-push-api. Supported file pattern: go.sum
|
Run Revive Action (1.18.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/go-push-api/go-push-api. Supported file pattern: go.sum
|
Run Revive Action (1.18.x):
internal/mi/miconst.go#L145
exported const TopicAccountType should have comment (or a comment on this block) or be unexported
|
Run Revive Action (1.18.x):
internal/mi/miconst.go#L75
const GetRegIdsByUserAccountURL should be GetRegIDsByUserAccountURL
|
Run Revive Action (1.18.x):
internal/umeng/builder/define.go#L1
should have a package comment
|
Run Revive Action (1.18.x):
internal/helper/http.go#L1
should have a package comment
|
Run Revive Action (1.18.x):
mipush.go#L30
func BatchSubscribeTopicByRegIds should be BatchSubscribeTopicByRegIDs
|
Run Revive Action (1.18.x):
internal/mi/miconst.go#L64
const InvalidRegIdsURL should be InvalidRegIDsURL
|
Run Revive Action (1.18.x):
internal/mi/domain.go#L28
struct field BadRegIds should be BadRegIDs
|
Run Revive Action (1.18.x):
jpush.go#L1
should have a package comment
|
Run Revive Action (1.18.x):
internal/jpush/report.go#L94
method parameter msgIds should be msgIDs
|
Run Revive Action (1.18.x):
internal/mi/api/topic.go#L42
method BatchSubscribeTopicByRegIds should be BatchSubscribeTopicByRegIDs
|
golangci-lint (1.18.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/go-push-api/go-push-api. Supported file pattern: go.sum
|
golangci-lint (1.19.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/go-push-api/go-push-api. Supported file pattern: go.sum
|