Skip to content

build(deps): bump golangci/golangci-lint-action from 3 to 4 #148

build(deps): bump golangci/golangci-lint-action from 3 to 4

build(deps): bump golangci/golangci-lint-action from 3 to 4 #148

Triggered via pull request February 9, 2024 20:09
Status Failure
Total duration 3m 19s
Artifacts

go.yml

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

Annotations

20 errors and 30 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): internal/jums/jums.go#L8
import 'github.com/bytedance/sonic' is not allowed from list 'Main' (depguard)
golangci-lint (1.18.x): internal/jums/jums.go#L9
import 'github.com/cloudwego/hertz/pkg/app/client' is not allowed from list 'Main' (depguard)
golangci-lint (1.18.x): internal/jums/jums.go#L10
import 'github.com/cloudwego/hertz/pkg/protocol' is not allowed from list 'Main' (depguard)
golangci-lint (1.18.x): internal/jums/jums.go#L11
import 'github.com/cloudwego/hertz/pkg/protocol/consts' is not allowed from list 'Main' (depguard)
golangci-lint (1.18.x): internal/jums/message.go#L3
import 'github.com/gofrs/uuid' 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.18.x): internal/helper/http.go#L10
import 'github.com/cloudwego/hertz/pkg/protocol' is not allowed from list 'Main' (depguard)
golangci-lint (1.18.x): internal/helper/http.go#L11
import 'github.com/cloudwego/hertz/pkg/protocol/consts' is not allowed from list 'Main' (depguard)
golangci-lint (1.18.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.18.x): internal/helper/http.go#L14
import 'github.com/houseme/go-push-api/internal/mi/builder' is not allowed from list 'Main' (depguard)
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/domain.go#L28
struct field BadRegIds should be BadRegIDs
Run Revive Action (1.19.x): internal/mi/domain.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/jums/users.go#L53
exported func UserTag returns unexported type *jums.userType, which can be annoying to use
Run Revive Action (1.19.x): internal/jums/jums.go#L1
should have a package comment
Run Revive Action (1.19.x): internal/jums/users.go#L71
exported func UserEmail returns unexported type *jums.userType, which can be annoying to use
Run Revive Action (1.19.x): internal/jums/users.go#L62
exported func UserPhone returns unexported type *jums.userType, which can be annoying to use
Run Revive Action (1.19.x): internal/jums/users.go#L89
exported func UserWechatMp returns unexported type *jums.userType, 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)
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/domain.go#L28
struct field BadRegIds should be BadRegIDs
Run Revive Action (1.18.x): internal/mi/builder/builder.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): jpush.go#L56
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): internal/jums/users.go#L53
exported func UserTag returns unexported type *jums.userType, which can be annoying to use
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/jums/users.go#L62
exported func UserPhone returns unexported type *jums.userType, which can be annoying to use
Run Revive Action (1.18.x): internal/mi/miconst.go#L64
const InvalidRegIdsURL should be InvalidRegIDsURL
Run Revive Action (1.18.x): internal/jums/users.go#L71
exported func UserEmail returns unexported type *jums.userType, which can be annoying to use
Run Revive Action (1.18.x): internal/helper/http.go#L1
should have a package comment
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/.
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/.
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)
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.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