Skip to content

Fix typing for alertErrors #1146

Fix typing for alertErrors

Fix typing for alertErrors #1146

Triggered via pull request April 17, 2024 15:59
Status Failure
Total duration 2m 49s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 12 warnings
Invalid Go version: go.mod#L10
Found 1.13. Expected 1.19
lint / Metadata
Process completed with exit code 1.
lint / Go: conn_test.go#L3067
Error return value of `ca.Close` is not checked (errcheck)
lint / Go: conn_test.go#L3068
Error return value of `cb.Close` is not checked (errcheck)
lint / Go: conn_test.go#L3100
Error return value of `ca.Write` is not checked (errcheck)
lint / Go: crypto_test.go#L16
G101: Potential hardcoded credentials: RSA private key (gosec)
lint / Go: pkg/crypto/ciphersuite/cbc.go#L14
import 'github.com/pion/dtls/v2/internal/util' is not allowed from list 'Main' (depguard)
lint / Go: pkg/crypto/ciphersuite/cbc.go#L15
import 'github.com/pion/dtls/v2/pkg/crypto/prf' is not allowed from list 'Main' (depguard)
lint / Go: pkg/crypto/ciphersuite/cbc.go#L16
import 'github.com/pion/dtls/v2/pkg/protocol' is not allowed from list 'Main' (depguard)
lint / Go: pkg/crypto/ciphersuite/cbc.go#L17
import 'github.com/pion/dtls/v2/pkg/protocol/recordlayer' is not allowed from list 'Main' (depguard)
lint / Go: pkg/crypto/ciphersuite/ccm.go#L12
import 'github.com/pion/dtls/v2/pkg/crypto/ccm' is not allowed from list 'Main' (depguard)
lint / Go: pkg/crypto/ciphersuite/ccm.go#L13
import 'github.com/pion/dtls/v2/pkg/protocol' is not allowed from list 'Main' (depguard)
lint / Metadata
Restore cache failed: Dependencies file is not found in /home/runner/work/dtls/dtls. Supported file pattern: go.sum
lint / Go: pkg/protocol/handshake/message_server_key_exchange_test.go#L35
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: pkg/protocol/handshake/message_server_key_exchange_test.go#L60
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: e2e/e2e_test.go#L282
unused-parameter: parameter 'hint' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: certificate_test.go#L80
unused-parameter: parameter 'info' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: config_test.go#L50
unused-parameter: parameter 'hint' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: config_test.go#L59
unused-parameter: parameter 'hint' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: config_test.go#L111
unused-parameter: parameter 'chi' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: config_test.go#L119
unused-parameter: parameter 'cri' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: conn_test.go#L426
unused-parameter: parameter 'b' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: conn_test.go#L558
unused-parameter: parameter 's' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go
Restore cache failed: Dependencies file is not found in /home/runner/work/dtls/dtls. Supported file pattern: go.sum