mirror of
https://github.com/pion/stun.git
synced 2025-09-27 04:05:57 +08:00
Update CI configs to v0.11.18
Update lint scripts and CI configs.
This commit is contained in:
@@ -136,4 +136,3 @@ issues:
|
||||
- path: cmd
|
||||
linters:
|
||||
- forbidigo
|
||||
|
||||
|
@@ -6,6 +6,6 @@ Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum
|
||||
Copyright: 2023 The Pion community <https://pion.ly>
|
||||
License: MIT
|
||||
|
||||
Files: testdata/fuzz/* **/testdata/fuzz/* api/*.txt
|
||||
Files: testdata/seed/* testdata/fuzz/* **/testdata/fuzz/* api/*.txt
|
||||
Copyright: 2023 The Pion community <https://pion.ly>
|
||||
License: CC0-1.0
|
||||
|
@@ -100,7 +100,7 @@ func main() { //nolint:gocognit,cyclop
|
||||
log.Fatalf("Failed to generate transaction ID: %s", err)
|
||||
}
|
||||
} else {
|
||||
mathRand.Read(req.TransactionID[:]) //nolint:gosec
|
||||
mathRand.Read(req.TransactionID[:]) //nolint
|
||||
}
|
||||
req.Type = stun.BindingRequest
|
||||
req.WriteHeader()
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
package stun
|
||||
|
||||
import ( //nolint:gci
|
||||
import (
|
||||
"crypto/md5" //nolint:gosec
|
||||
"crypto/sha1" //nolint:gosec
|
||||
"errors"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
package hmac
|
||||
|
||||
import ( //nolint:gci
|
||||
import (
|
||||
"crypto/md5" //nolint:gosec
|
||||
"crypto/sha1" //nolint:gosec
|
||||
"crypto/sha256"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
package hmac
|
||||
|
||||
import ( //nolint:gci
|
||||
import (
|
||||
"crypto/sha1" //nolint:gosec
|
||||
"crypto/sha256"
|
||||
"hash"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
package hmac
|
||||
|
||||
import ( //nolint:gci
|
||||
import (
|
||||
"crypto/sha1" //nolint:gosec
|
||||
"crypto/sha256"
|
||||
"fmt"
|
||||
|
Reference in New Issue
Block a user