Skip to content

Fix cloudflare-tls usage #19

Fix cloudflare-tls usage

Fix cloudflare-tls usage #19

Triggered via push August 31, 2023 04:01
Status Failure
Total duration 1m 3s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

51 errors and 1 warning
check
Process completed with exit code 1.
golangci-lint: internal/handshake_ech/aead.go#L1
: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
golangci-lint: internal/handshake_ech/crypto_setup.go#L133
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in assignment
golangci-lint: internal/handshake_ech/crypto_setup.go#L661
cannot use h.conn.ConnectionState() (value of type "crypto/tls".ConnectionState) as "github.com/sagernet/cloudflare-tls".ConnectionState value in struct literal (typecheck)
golangci-lint: ech/connection.go#L21
could not import github.com/sagernet/quic-go/internal/handshake_ech (-: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
golangci-lint: internal/handshake_ech/aead.go#L1
: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
golangci-lint: internal/handshake_ech/crypto_setup.go#L133
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in assignment
golangci-lint: internal/handshake_ech/crypto_setup.go#L661
cannot use h.conn.ConnectionState() (value of type "crypto/tls".ConnectionState) as "github.com/sagernet/cloudflare-tls".ConnectionState value in struct literal (typecheck)
golangci-lint: ech/connection.go#L21
could not import github.com/sagernet/quic-go/internal/handshake_ech (-: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
golangci-lint: internal/handshake_ech/aead.go#L1
: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
golangci-lint: internal/handshake_ech/crypto_setup.go#L133
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in assignment
golangci-lint: internal/handshake_ech/crypto_setup.go#L661
cannot use h.conn.ConnectionState() (value of type "crypto/tls".ConnectionState) as "github.com/sagernet/cloudflare-tls".ConnectionState value in struct literal (typecheck)
golangci-lint: ech/connection.go#L21
could not import github.com/sagernet/quic-go/internal/handshake_ech (-: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
golangci-lint: internal/handshake_ech/aead.go#L1
: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
golangci-lint: internal/handshake_ech/crypto_setup.go#L133
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in assignment
golangci-lint: internal/handshake_ech/crypto_setup.go#L661
cannot use h.conn.ConnectionState() (value of type "crypto/tls".ConnectionState) as "github.com/sagernet/cloudflare-tls".ConnectionState value in struct literal (typecheck)
golangci-lint: ech/connection.go#L21
could not import github.com/sagernet/quic-go/internal/handshake_ech (-: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
golangci-lint: internal/handshake_ech/aead.go#L1
: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
golangci-lint: internal/handshake_ech/crypto_setup.go#L133
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in assignment
golangci-lint: internal/handshake_ech/crypto_setup.go#L661
cannot use h.conn.ConnectionState() (value of type "crypto/tls".ConnectionState) as "github.com/sagernet/cloudflare-tls".ConnectionState value in struct literal (typecheck)
golangci-lint: ech/connection.go#L21
could not import github.com/sagernet/quic-go/internal/handshake_ech (-: # github.com/sagernet/quic-go/internal/handshake_ech
golangci-lint: internal/handshake_ech/crypto_setup.go#L96
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L129
cannot use tlsConf (variable of type *"github.com/sagernet/cloudflare-tls".Config) as *"crypto/tls".Config value in struct literal
golangci-lint: internal/handshake_ech/crypto_setup.go#L131
cannot use quicConf.TLSConfig (variable of type *"crypto/tls".Config) as *"github.com/sagernet/cloudflare-tls".Config value in argument to addConnToClientHelloInfo
check
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']