Skip to content

Only one streaming key for each course #1225

Only one streaming key for each course

Only one streaming key for each course #1225

Triggered via pull request January 31, 2024 12:20
Status Failure
Total duration 34s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 6 warnings
lint (./worker): api/runner_grpc.go#L39
commentFormatting: put a space between `//` and comment text (gocritic)
lint (./worker): api/runner_grpc.go#L44
commentFormatting: put a space between `//` and comment text (gocritic)
lint (./worker): api/runner_grpc.go#L49
commentFormatting: put a space between `//` and comment text (gocritic)
lint (./worker): model/runner.go#L5
File is not `gofumpt`-ed (gofumpt)
lint (./worker): dao/runner.go#L4
File is not `gofumpt`-ed (gofumpt)
lint (./worker): api/runner_grpc.go#L5
File is not `gofumpt`-ed (gofumpt)
lint (./worker): api/runner_grpc.go#L13
File is not `gofumpt`-ed (gofumpt)
lint (./worker): api/runner_grpc.go#L48
func `GrpcRunnerServer.mustEmbedUnimplementedFromRunnerServer` is unused (unused)
lint (./worker): api/worker_grpc.go#L140
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
lint (./worker): api/worker_grpc.go#L141
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
lint (./...): api/runner_grpc.go#L39
commentFormatting: put a space between `//` and comment text (gocritic)
lint (./...): api/runner_grpc.go#L44
commentFormatting: put a space between `//` and comment text (gocritic)
lint (./...): api/runner_grpc.go#L49
commentFormatting: put a space between `//` and comment text (gocritic)
lint (./...): model/runner.go#L5
File is not `gofumpt`-ed (gofumpt)
lint (./...): dao/runner.go#L4
File is not `gofumpt`-ed (gofumpt)
lint (./...): api/runner_grpc.go#L5
File is not `gofumpt`-ed (gofumpt)
lint (./...): api/runner_grpc.go#L13
File is not `gofumpt`-ed (gofumpt)
lint (./...): api/runner_grpc.go#L48
func `GrpcRunnerServer.mustEmbedUnimplementedFromRunnerServer` is unused (unused)
lint (./...): api/worker_grpc.go#L140
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
lint (./...): api/worker_grpc.go#L141
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
lint (./worker/edge): api/runner_grpc.go#L39
commentFormatting: put a space between `//` and comment text (gocritic)
lint (./worker/edge): api/runner_grpc.go#L44
commentFormatting: put a space between `//` and comment text (gocritic)
lint (./worker/edge): api/runner_grpc.go#L49
commentFormatting: put a space between `//` and comment text (gocritic)
lint (./worker/edge): model/runner.go#L5
File is not `gofumpt`-ed (gofumpt)
lint (./worker/edge): dao/runner.go#L4
File is not `gofumpt`-ed (gofumpt)
lint (./worker/edge): api/runner_grpc.go#L5
File is not `gofumpt`-ed (gofumpt)
lint (./worker/edge): api/runner_grpc.go#L13
File is not `gofumpt`-ed (gofumpt)
lint (./worker/edge): api/runner_grpc.go#L48
func `GrpcRunnerServer.mustEmbedUnimplementedFromRunnerServer` is unused (unused)
lint (./worker/edge): api/worker_grpc.go#L140
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
lint (./worker/edge): api/worker_grpc.go#L141
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
lint (./worker)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, 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/.
lint (./worker)
Restore cache failed: Dependencies file is not found in /home/runner/work/gocast/gocast. Supported file pattern: go.sum
lint (./...)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, 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/.
lint (./...)
Restore cache failed: Dependencies file is not found in /home/runner/work/gocast/gocast. Supported file pattern: go.sum
lint (./worker/edge)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, 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/.
lint (./worker/edge)
Restore cache failed: Dependencies file is not found in /home/runner/work/gocast/gocast. Supported file pattern: go.sum