Skip to content

CE Refactor Part 2: create Services package and update main.go #62

CE Refactor Part 2: create Services package and update main.go

CE Refactor Part 2: create Services package and update main.go #62

Triggered via pull request November 26, 2025 06:19
Status Failure
Total duration 51s
Artifacts

build-consent-engine.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
validate
too many errors
validate
undefined: NewPostgresConsentEngine
validate
undefined: InitDatabase
validate
undefined: ConnectDB
validate
undefined: DatabaseConfig
validate
cannot use models.ErrConsentExpiryFailed + ": %w" (constant "failed to check consent expiry: %w" of string type models.ConsentErrorMessage) as string value in argument to fmt.Errorf
validate
cannot use models.ErrConsentGetFailed + ": %w" (constant "failed to get consent records: %w" of string type models.ConsentErrorMessage) as string value in argument to fmt.Errorf
validate
cannot use models.ErrConsentGetFailed + ": %w" (constant "failed to get consent records: %w" of string type models.ConsentErrorMessage) as string value in argument to fmt.Errorf
validate
cannot use models.ErrConsentRevokeFailed + ": %w" (constant "failed to revoke consent record: %w" of string type models.ConsentErrorMessage) as string value in argument to fmt.Errorf
validate
cannot use models.ErrConsentUpdateFailed + ": %w" (constant "failed to update consent record: %w" of string type models.ConsentErrorMessage) as string value in argument to fmt.Errorf
validate
Restore cache failed: Dependencies file is not found in /home/runner/work/opendif-mvp/opendif-mvp. Supported file pattern: go.sum