Skip to content

build(deps): bump golangci/golangci-lint-action from 4 to 5 (#63) #166

build(deps): bump golangci/golangci-lint-action from 4 to 5 (#63)

build(deps): bump golangci/golangci-lint-action from 4 to 5 (#63) #166

Triggered via push April 26, 2024 01:09
Status Failure
Total duration 1m 6s
Artifacts

go.yml

on: push
Matrix: build
Matrix: golangci-lint
Matrix: Run Revive Action
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 29 warnings
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/helper/http.go#L9
import 'github.com/cloudwego/hertz/pkg/app/client' is not allowed from list 'Main' (depguard)
golangci-lint (1.19.x): internal/helper/http.go#L10
import 'github.com/cloudwego/hertz/pkg/protocol' is not allowed from list 'Main' (depguard)
golangci-lint (1.19.x): internal/helper/http.go#L11
import 'github.com/cloudwego/hertz/pkg/protocol/consts' is not allowed from list 'Main' (depguard)
golangci-lint (1.19.x): internal/helper/http.go#L13
import 'github.com/houseme/go-push-api/internal/mi' is not allowed from list 'Main' (depguard)
golangci-lint (1.19.x): internal/helper/http.go#L14
import 'github.com/houseme/go-push-api/internal/mi/builder' is not allowed from list 'Main' (depguard)
golangci-lint (1.18.x)
The job was canceled because "_1_19_x" failed.
golangci-lint (1.18.x)
The operation was canceled.
build (1.18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (1.19)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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#L64
const InvalidRegIdsURL should be InvalidRegIDsURL
Run Revive Action (1.18.x): internal/helper/http.go#L1
should have a package comment
Run Revive Action (1.18.x): internal/mi/miconst.go#L75
const GetRegIdsByUserAccountURL should be GetRegIDsByUserAccountURL
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/domain.go#L1
should have a package comment
Run Revive Action (1.18.x): internal/umeng/builder/define.go#L1
should have a package comment
Run Revive Action (1.18.x): internal/mi/api/tracer.go#L15
parameter 'builder' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): internal/helper/http.go#L26
exported func Client returns unexported type *helper.httpClient, which can be annoying to use
Run Revive Action (1.18.x): internal/mi/api/message.go#L149
parameter 'params' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): internal/mi/api/tracer.go#L15
parameter 'params' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.19.x): internal/mi/builder/builder.go#L1
should have a package comment
Run Revive Action (1.19.x): internal/umeng/builder/define.go#L1
should have a package comment
Run Revive Action (1.19.x): internal/helper/http.go#L1
should have a package comment
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): internal/mi/api/tracer.go#L15
parameter 'params' 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/mi/api/topic.go#L42
method BatchSubscribeTopicByRegIds should be BatchSubscribeTopicByRegIDs
Run Revive Action (1.19.x): internal/mi/api/channel.go#L9
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): mipush.go#L30
func BatchSubscribeTopicByRegIds should be BatchSubscribeTopicByRegIDs
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
golangci-lint (1.19.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
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