Skip to content

Documentation and mod tidy #49

Documentation and mod tidy

Documentation and mod tidy #49

Triggered via push May 29, 2025 12:52
Status Failure
Total duration 1m 6s
Artifacts

modules-ci.yml

on: push
detect-modules
5s
detect-modules
Matrix: lint-modules
Matrix: test-modules
Matrix: verify-modules
modules-summary
2s
modules-summary
Fit to window
Zoom out
Zoom in

Annotations

51 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 reverseproxy: modules/reverseproxy/backend_test.go#L80
Error return value of `w.Write` is not checked (errcheck)
Lint reverseproxy: modules/reverseproxy/backend_test.go#L72
Error return value of `w.Write` is not checked (errcheck)
Lint reverseproxy: modules/reverseproxy/module.go#L1107
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"backend proxy for %s is nil\", backendID)" (err113)
Lint reverseproxy: modules/reverseproxy/module.go#L1101
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"backend %s not found\", backendID)" (err113)
Lint reverseproxy: modules/reverseproxy/module.go#L618
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"cannot register routes: router is nil\")" (err113)
Lint reverseproxy: modules/reverseproxy/module.go#L275
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"tenant ID is required but TenantIDHeader is not set\")" (err113)
Lint reverseproxy: modules/reverseproxy/module.go#L254
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"default backend '%s' is not defined in backend_services\", m.config.DefaultBackend)" (err113)
Lint reverseproxy: modules/reverseproxy/module.go#L221
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"configuration is nil\")" (err113)
Lint reverseproxy: modules/reverseproxy/composite.go#L344
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"backend service not found: %s\", backendName)" (err113)
Lint reverseproxy: modules/reverseproxy/module.go#L1267
response body must be closed (bodyclose)
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 letsencrypt
golangci-lint exit with code 3
Lint httpserver: modules/httpserver/module.go#L188
do not compare errors directly "err != http.ErrServerClosed", use "!errors.Is(err, http.ErrServerClosed)" instead (err113)
Lint httpclient: modules/httpclient/module_test.go#L241
require-error: for error assertions use require (testifylint)
Lint httpserver: modules/httpserver/module.go#L100
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"service %s does not implement http.Handler\", \"router\")" (err113)
Lint httpclient: modules/httpclient/module_test.go#L142
require-error: for error assertions use require (testifylint)
Lint httpserver: modules/httpserver/config.go#L120
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"TLS is enabled but no key file specified\")" (err113)
Lint httpclient: modules/httpclient/module_test.go#L311
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
Lint httpserver: modules/httpserver/config.go#L117
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"TLS is enabled but no certificate file specified\")" (err113)
Lint httpclient: modules/httpclient/module_test.go#L271
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
Lint httpserver: modules/httpserver/config.go#L110
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"TLS auto-generation is enabled but no domains specified\")" (err113)
Lint httpclient: modules/httpclient/module_test.go#L196
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
Lint httpserver: modules/httpserver/config.go#L78
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid port number: %d\", c.Port)" (err113)
Lint httpclient: modules/httpclient/logger.go#L59
G306: Expect WriteFile permissions to be 0600 or less (gosec)
Lint httpserver: modules/httpserver/certificate_service_test.go#L67
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"config section %s not found\", name)" (err113)
Lint httpclient: modules/httpclient/logger.go#L53
G306: Expect WriteFile permissions to be 0600 or less (gosec)
Lint httpclient: modules/httpclient/module_test.go#L297
Error return value of `w.Write` is not checked (errcheck)
Lint httpserver: modules/httpserver/certificate_service_test.go#L33
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no certificate found for domain: %s\", clientHello.ServerName)" (err113)
Lint httpclient: modules/httpclient/module_test.go#L247
Error return value of `w.Write` is not checked (errcheck)
Lint httpserver: modules/httpserver/certificate_service_test.go#L28
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"server name is empty\")" (err113)
Lint httpclient: modules/httpclient/config.go#L94
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"log_file_path must be specified when log_to_file is enabled\")" (err113)
Lint httpserver: modules/httpserver/module.go#L117
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)