Skip to content

fix build

fix build #18

Triggered via push May 30, 2024 02:03
Status Failure
Total duration 21s
Artifacts

Annotations

2 errors and 1 warning
lint
Failed to run: Error: Command failed: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest ../../../go/pkg/mod/github.com/golangci/golangci-lint@v1.59.0/pkg/config/loader.go:8:2: package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.14/x64/src/slices) note: imported by a module that requires go 1.21 , Error: Command failed: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest ../../../go/pkg/mod/github.com/golangci/golangci-lint@v1.59.0/pkg/config/loader.go:8:2: package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.14/x64/src/slices) note: imported by a module that requires go 1.21 at ChildProcess.exithandler (node:child_process:402:12) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1100:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
lint
Command failed: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest ../../../go/pkg/mod/github.com/golangci/golangci-lint@v1.59.0/pkg/config/loader.go:8:2: package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.14/x64/src/slices) note: imported by a module that requires go 1.21
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.