Skip to content

Embed migrations into binary #327

Embed migrations into binary

Embed migrations into binary #327

Triggered via pull request July 17, 2024 21:55
Status Failure
Total duration 1m 44s
Artifacts

build-and-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
build_and_test: internal/actionsdb/actions_test.go#L38
unknown field Migrations in struct literal of type "github.com/nt0xa/sonar/internal/database".Config
build_and_test: internal/database/db_test.go#L34
unknown field Migrations in struct literal of type "github.com/nt0xa/sonar/internal/database".Config
build_and_test: internal/dnsdb/dnsdb_test.go#L37
unknown field Migrations in struct literal of type "github.com/nt0xa/sonar/internal/database".Config
build_and_test: internal/httpdb/httpdb_test.go#L44
unknown field Migrations in struct literal of type "github.com/nt0xa/sonar/internal/database".Config
build_and_test: internal/modules/api/api_test.go#L73
unknown field Migrations in struct literal of type "github.com/nt0xa/sonar/internal/database".Config
build_and_test: internal/modules/api/apiclient/client_test.go#L72
unknown field Migrations in struct literal of type "github.com/nt0xa/sonar/internal/database".Config
build_and_test
Process completed with exit code 2.
build_and_test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build_and_test
Restore cache failed: Dependencies file is not found in /home/runner/work/sonar/sonar. Supported file pattern: go.sum