Skip to content

Feat/time

Feat/time #82

Triggered via pull request September 10, 2024 06:26
Status Failure
Total duration 2m 50s
Artifacts

quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
tests: web/server.go#L72
cannot use tzDB (variable of type *db.Geo2TzRTreeIndex) as db.TzDBIndex value in assignment: *db.Geo2TzRTreeIndex does not implement db.TzDBIndex (wrong type for method Lookup)
tests: web/server.go#L139
cannot use res (variable of type db.TzReply) as string value in argument to newTzResponse
tests
Process completed with exit code 2.
lint: cmd/root.go#L8
could not import github.com/noandrea/geo2tz/v2/web (-: # github.com/noandrea/geo2tz/v2/web
lint: web/server.go#L72
cannot use tzDB (variable of type *db.Geo2TzRTreeIndex) as db.TzDBIndex value in assignment: *db.Geo2TzRTreeIndex does not implement db.TzDBIndex (wrong type for method Lookup)
lint: web/server.go#L139
cannot use res (variable of type db.TzReply) as string value in argument to newTzResponse) (typecheck)
lint: web/config.go#L1
: # github.com/noandrea/geo2tz/v2/web [github.com/noandrea/geo2tz/v2/web.test]
lint: web/server.go#L72
cannot use tzDB (variable of type *db.Geo2TzRTreeIndex) as db.TzDBIndex value in assignment: *db.Geo2TzRTreeIndex does not implement db.TzDBIndex (wrong type for method Lookup)
lint: web/server.go#L139
cannot use res (variable of type db.TzReply) as string value in argument to newTzResponse (typecheck)
lint
issues found
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@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/