feat: replace pure SQL strings with SQLair #645
main.yml
on: pull_request
go-unit-test
/
go-unit-tests
57s
go-vet
/
go-vet
55s
go-lint
/
lint
56s
frontend-build
/
nextjs-build
1m 31s
frontend-unit-test
/
nextjs-unit-tests
25s
snap-publish
/
publish-snap
Annotations
22 errors
go-lint / lint:
internal/metrics/metrics.go#L98
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-lint / lint:
internal/metrics/metrics.go#L102
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-lint / lint:
internal/metrics/metrics.go#L106
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate) (typecheck)
|
go-lint / lint:
internal/server/middleware.go#L13
could not import github.com/canonical/notary/internal/metrics (-: # github.com/canonical/notary/internal/metrics
|
go-lint / lint:
internal/metrics/metrics.go#L98
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-lint / lint:
internal/metrics/metrics.go#L102
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-lint / lint:
internal/metrics/metrics.go#L106
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)) (typecheck)
|
go-lint / lint:
internal/server/handlers_accounts.go#L97
cannot use env.DB.RetrieveUserByUsername(claims.Username) (value of type *db.User) as db.User value in assignment (typecheck)
|
go-lint / lint:
internal/server/handlers_accounts.go#L99
env.DB.RetrieveUser undefined (type *db.Database has no field or method RetrieveUser) (typecheck)
|
go-vet / go-vet:
internal/metrics/metrics.go#L98
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-vet / go-vet:
internal/metrics/metrics.go#L102
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-lint / lint:
internal/server/handlers_accounts.go#L158
assignment mismatch: 2 variables but env.DB.CreateUser returns 1 value (typecheck)
|
go-vet / go-vet:
internal/metrics/metrics.go#L106
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-vet / go-vet
Process completed with exit code 1.
|
go-unit-test / go-unit-tests:
internal/metrics/metrics.go#L98
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-unit-test / go-unit-tests:
internal/metrics/metrics.go#L102
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-unit-test / go-unit-tests:
internal/metrics/metrics.go#L106
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-unit-test / go-unit-tests
Process completed with exit code 1.
|
go-build / go-build:
internal/metrics/metrics.go#L98
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-build / go-build:
internal/metrics/metrics.go#L102
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-build / go-build:
internal/metrics/metrics.go#L106
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
go-build / go-build
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-static-files
|
492 KB |
|