Skip to content

Upstash integration backend #2775

Upstash integration backend

Upstash integration backend #2775

Triggered via pull request May 1, 2024 21:58
Status Failure
Total duration 3m 25s
Artifacts

pr_push_checks_go.yaml

on: pull_request
Setup cache
41s
Setup cache
Matrix: Running Go Tests
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 4 warnings
Go Linter: api/server/handlers/oauth_callback/upstash.go#L166
Error return value of `resp.Body.Close` is not checked (errcheck)
Go Linter: api/server/handlers/oauth_callback/upstash.go#L27
G101: Potential hardcoded credentials (gosec)
Go Linter: api/server/handlers/oauth_callback/upstash.go#L109
ineffectual assignment to oauthInt (ineffassign)
Go Linter
issues found
Running Go Tests (ubuntu-latest, internal): internal/repository/test/repository.go#L295
cannot use &TestRepository{…} (value of type *TestRepository) as repository.Repository value in return statement: *TestRepository does not implement repository.Repository (missing method UpstashIntegration)
Running Go Tests (ubuntu-latest, internal)
Process completed with exit code 1.
Running Go Tests (ubuntu-latest, cli)
The job was canceled because "ubuntu-latest_internal" failed.
Running Go Tests (ubuntu-latest, cli)
The operation was canceled.
Running Go Tests (ubuntu-latest, api)
The job was canceled because "ubuntu-latest_internal" failed.
Running Go Tests (ubuntu-latest, api): internal/repository/test/repository.go#L295
cannot use &TestRepository{…} (value of type *TestRepository) as repository.Repository value in return statement: *TestRepository does not implement repository.Repository (missing method UpstashIntegration)
Running Go Tests (ubuntu-latest, api)
The operation was canceled.
Running Go Tests (ubuntu-latest, cmd)
The job was canceled because "ubuntu-latest_internal" failed.
Running Go Tests (ubuntu-latest, cmd): internal/repository/test/repository.go#L295
cannot use &TestRepository{…} (value of type *TestRepository) as repository.Repository value in return statement: *TestRepository does not implement repository.Repository (missing method UpstashIntegration)
Running Go Tests (ubuntu-latest, cmd)
The operation was canceled.
Setup cache
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: tj-actions/[email protected], actions/cache@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Go Tests (ubuntu-latest, provisioner)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go Linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@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/.
Running Go Tests (ubuntu-latest, internal)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.