Skip to content

build(deps): bump github/codeql-action from 2 to 3 #146

build(deps): bump github/codeql-action from 2 to 3

build(deps): bump github/codeql-action from 2 to 3 #146

Triggered via pull request December 13, 2023 20:51
Status Failure
Total duration 1m 9s
Artifacts

go.yml

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

Annotations

21 errors and 24 warnings
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)
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/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)
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/umeng/builder/define.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/mi/builder/builder.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/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/tracer.go#L15
parameter 'params' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): internal/mi/api/channel.go#L9
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/jpush/client.go#L1
should have a package comment
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/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): internal/mi/domain.go#L1
should have a package comment
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/jums.go#L1
should have a package comment
Run Revive Action (1.18.x): internal/jpush/client.go#L1
should have a package comment
Run Revive Action (1.18.x): internal/mi/api/channel.go#L9
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): 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): jpush.go#L1
should have a package comment
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