Fixing linter & test errors #51
modules-ci.yml
on: push
detect-modules
4s
Matrix: lint-modules
Matrix: test-modules
Matrix: verify-modules
modules-summary
2s
Annotations
30 errors
|
Verify letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore/to (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Verify letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore/policy (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Verify letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Verify letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Verify letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Verify letsencrypt
missing go.sum entry for module providing package github.com/miekg/dns (imported by github.com/go-acme/lego/v4/challenge/dns01); to add:
|
|
Verify letsencrypt
missing go.sum entry for module providing package golang.org/x/net/idna (imported by github.com/go-acme/lego/v4/certificate); to add:
|
|
Verify letsencrypt
missing go.sum entry for module providing package github.com/go-jose/go-jose/v4 (imported by github.com/go-acme/lego/v4/acme/api/internal/secure); to add:
|
|
Verify letsencrypt
missing go.sum entry for module providing package github.com/cenkalti/backoff/v4 (imported by github.com/go-acme/lego/v4/acme/api); to add:
|
|
Verify letsencrypt
missing go.sum entry for module providing package golang.org/x/crypto/ocsp (imported by github.com/go-acme/lego/v4/certcrypto); to add:
|
|
Lint cache
issues found
|
|
Lint cache:
modules/cache/redis.go#L11
field client is unused (unused)
|
|
Test letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore/to (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Test letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore/policy (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Test letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Test letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Test letsencrypt
missing go.sum entry for module providing package github.com/Azure/azure-sdk-for-go/sdk/azcore (imported by github.com/go-acme/lego/v4/providers/dns/azuredns); to add:
|
|
Test letsencrypt
missing go.sum entry for module providing package github.com/miekg/dns (imported by github.com/go-acme/lego/v4/challenge/dns01); to add:
|
|
Test letsencrypt
missing go.sum entry for module providing package golang.org/x/net/idna (imported by github.com/go-acme/lego/v4/certificate); to add:
|
|
Test letsencrypt
missing go.sum entry for module providing package github.com/go-jose/go-jose/v4 (imported by github.com/go-acme/lego/v4/acme/api/internal/secure); to add:
|
|
Test letsencrypt
missing go.sum entry for module providing package github.com/cenkalti/backoff/v4 (imported by github.com/go-acme/lego/v4/acme/api); to add:
|
|
Test letsencrypt
missing go.sum entry for module providing package golang.org/x/crypto/ocsp (imported by github.com/go-acme/lego/v4/certcrypto); to add:
|
|
Lint database
issues found
|
|
Lint database:
modules/database/module_test.go#L188
require-error: for error assertions use require (testifylint)
|
|
Lint database:
modules/database/module_test.go#L186
require-error: for error assertions use require (testifylint)
|
|
Lint database:
modules/database/module_test.go#L585
Close should use defer (sqlclosecheck)
|
|
Lint database:
modules/database/module_test.go#L320
Close should use defer (sqlclosecheck)
|
|
Lint database:
modules/database/module_test.go#L312
Close should use defer (sqlclosecheck)
|
|
Lint database:
modules/database/service.go#L106
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
|
Lint letsencrypt
golangci-lint exit with code 3
|