Skip to content

[BB-95] fix: handle errors #59

[BB-95] fix: handle errors

[BB-95] fix: handle errors #59

Triggered via pull request October 4, 2024 19:50
Status Failure
Total duration 3m 36s
Artifacts

ci.yaml

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

Annotations

30 errors and 7 warnings
test: pkg/connector/account.go#L124
assignment mismatch: 2 variables but a.client.ListRuleSets returns 3 values
test: pkg/connector/account.go#L170
assignment mismatch: 2 variables but a.client.ListRuleSets returns 3 values
test: pkg/connector/account.go#L211
assignment mismatch: 1 variable but a.client.UpdateRuleSets returns 2 values
test: pkg/connector/account.go#L236
assignment mismatch: 2 variables but a.client.ListRuleSets returns 3 values
test: pkg/connector/account.go#L281
assignment mismatch: 1 variable but a.client.UpdateRuleSets returns 2 values
test: pkg/connector/roles.go#L182
assignment mismatch: 3 variables but r.client.ListUsers returns 4 values
test: pkg/connector/roles.go#L217
assignment mismatch: 3 variables but r.client.ListGroups returns 4 values
test: pkg/connector/roles.go#L249
assignment mismatch: 3 variables but r.client.ListServicePrincipals returns 4 values
test: pkg/connector/roles.go#L329
assignment mismatch: 2 variables but r.client.GetUser returns 3 values
test: pkg/connector/roles.go#L336
assignment mismatch: 1 variable but r.client.UpdateUser returns 2 values
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L124
assignment mismatch: 2 variables but a.client.ListRuleSets returns 3 values
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L170
assignment mismatch: 2 variables but a.client.ListRuleSets returns 3 values
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L190
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L211
assignment mismatch: 1 variable but a.client.UpdateRuleSets returns 2 values
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L236
assignment mismatch: 2 variables but a.client.ListRuleSets returns 3 values
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L259
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L262
cannot infer S ($GOROOT/src/slices/slices.go:218:13)
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L265
cannot infer S ($GOROOT/src/slices/slices.go:94:12)
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L266
cannot infer S ($GOROOT/src/slices/slices.go:218:13)
go-test (1.21.x, ubuntu-latest): pkg/connector/account.go#L281
assignment mismatch: 1 variable but a.client.UpdateRuleSets returns 2 values
go-lint: pkg/connector/account.go#L1
: # github.com/conductorone/baton-databricks/pkg/connector
go-lint: pkg/connector/account.go#L124
assignment mismatch: 2 variables but a.client.ListRuleSets returns 3 values
go-lint: pkg/connector/account.go#L170
assignment mismatch: 2 variables but a.client.ListRuleSets returns 3 values
go-lint: pkg/connector/account.go#L190
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
go-lint: pkg/connector/account.go#L211
assignment mismatch: 1 variable but a.client.UpdateRuleSets returns 2 values
go-lint: pkg/connector/account.go#L236
assignment mismatch: 2 variables but a.client.ListRuleSets returns 3 values
go-lint: pkg/connector/account.go#L259
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
go-lint: pkg/connector/account.go#L262
cannot infer S ($GOROOT/src/slices/slices.go:218:13)
go-lint: pkg/connector/account.go#L265
cannot infer S ($GOROOT/src/slices/slices.go:94:12)
go-lint: pkg/connector/account.go#L266
cannot infer S ($GOROOT/src/slices/slices.go:218:13)
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-databricks/baton-databricks. Supported file pattern: go.sum
go-test (1.21.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: guyarb/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
go-test (1.21.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, guyarb/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-test (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-databricks/baton-databricks. Supported file pattern: go.sum
go-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/baton-databricks/baton-databricks. Supported file pattern: go.sum