Skip to content

[INC-300] baton-github: include the error in the returned message #214

[INC-300] baton-github: include the error in the returned message

[INC-300] baton-github: include the error in the returned message #214

Triggered via pull request July 24, 2025 21:49
Status Failure
Total duration 1m 30s
Artifacts

ci.yaml

on: pull_request
Matrix: go-test
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
go-test (1.23.x, ubuntu-latest)
Process completed with exit code 1.
go-test (1.23.x, ubuntu-latest): pkg/connector/connector.go#L213
syntax error: unexpected name context in argument list; possibly missing comma or )
go-test (1.23.x, ubuntu-latest): pkg/connector/connector.go#L176
syntax error: unexpected }, expected expression
go-test (1.23.x, ubuntu-latest): pkg/connector/connector.go#L175
syntax error: unexpected return, expected name or (
go-lint: pkg/connector/connector.go#L182
expected ';', found 'if' (typecheck)
go-lint: pkg/connector/connector.go#L180
expected '{', found 'for' (typecheck)
go-lint: pkg/connector/connector.go#L175
expected selector or type assertion, found 'return' (typecheck)
go-lint: pkg/connector/connector.go#L213
syntax error: unexpected name context in argument list; possibly missing comma or ) (typecheck)
go-lint: pkg/connector/connector.go#L176
syntax error: unexpected }, expected expression
go-lint: pkg/connector/connector.go#L175
syntax error: unexpected return, expected name or (
go-lint: pkg/connector/connector.go#L213
syntax error: unexpected name context in argument list; possibly missing comma or )) (typecheck)
go-lint: pkg/connector/connector.go#L176
syntax error: unexpected }, expected expression
go-lint: pkg/connector/connector.go#L175
syntax error: unexpected return, expected name or (
go-lint: cmd/baton-github/main.go#L16
could not import github.com/conductorone/baton-github/pkg/connector (-: # github.com/conductorone/baton-github/pkg/connector
go-test (1.23.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-github/baton-github. Supported file pattern: go.sum
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-github/baton-github. Supported file pattern: go.sum