Skip to content

[management] Add integration test for the setup-keys API endpoints #7126

[management] Add integration test for the setup-keys API endpoints

[management] Add integration test for the setup-keys API endpoints #7126

Triggered via pull request November 22, 2024 19:08
Status Failure
Total duration 11m 35s
Artifacts

golangci-lint.yml

on: pull_request
codespell
9s
codespell
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
lint (ubuntu-latest): management/server/http/accounts_handler.go#L1
: # github.com/netbirdio/netbird/management/server/http [github.com/netbirdio/netbird/management/server/http.test]
lint (ubuntu-latest): management/server/http/posture_checks_handler_test.go#L73
undefined: geolocation.geolocationImpl (typecheck)
lint (ubuntu-latest)
issues found
lint (macos-latest): management/server/http/accounts_handler.go#L1
: # github.com/netbirdio/netbird/management/server/http [github.com/netbirdio/netbird/management/server/http.test]
lint (macos-latest): management/server/http/posture_checks_handler_test.go#L73
undefined: geolocation.geolocationImpl (typecheck)
lint (macos-latest)
issues found
lint (windows-latest)
undefined: geolocation.geolocationImpl"
lint (windows-latest)
issues found
lint (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
lint (macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
lint (windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
lint (windows-latest): management/server/geolocation/geolocation.go#L270
exported: type name will be used as geolocation.GeolocationMock by other packages, and that is repetitive; consider calling this Mock (revive)