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
|
- path: cmd
|
||||||
linters:
|
linters:
|
||||||
- forbidigo
|
- 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>
|
Copyright: 2023 The Pion community <https://pion.ly>
|
||||||
License: MIT
|
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>
|
Copyright: 2023 The Pion community <https://pion.ly>
|
||||||
License: CC0-1.0
|
License: CC0-1.0
|
||||||
|
@@ -100,7 +100,7 @@ func main() { //nolint:gocognit,cyclop
|
|||||||
log.Fatalf("Failed to generate transaction ID: %s", err)
|
log.Fatalf("Failed to generate transaction ID: %s", err)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mathRand.Read(req.TransactionID[:]) //nolint:gosec
|
mathRand.Read(req.TransactionID[:]) //nolint
|
||||||
}
|
}
|
||||||
req.Type = stun.BindingRequest
|
req.Type = stun.BindingRequest
|
||||||
req.WriteHeader()
|
req.WriteHeader()
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
package stun
|
package stun
|
||||||
|
|
||||||
import ( //nolint:gci
|
import (
|
||||||
"crypto/md5" //nolint:gosec
|
"crypto/md5" //nolint:gosec
|
||||||
"crypto/sha1" //nolint:gosec
|
"crypto/sha1" //nolint:gosec
|
||||||
"errors"
|
"errors"
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
package hmac
|
package hmac
|
||||||
|
|
||||||
import ( //nolint:gci
|
import (
|
||||||
"crypto/md5" //nolint:gosec
|
"crypto/md5" //nolint:gosec
|
||||||
"crypto/sha1" //nolint:gosec
|
"crypto/sha1" //nolint:gosec
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
package hmac
|
package hmac
|
||||||
|
|
||||||
import ( //nolint:gci
|
import (
|
||||||
"crypto/sha1" //nolint:gosec
|
"crypto/sha1" //nolint:gosec
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"hash"
|
"hash"
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
package hmac
|
package hmac
|
||||||
|
|
||||||
import ( //nolint:gci
|
import (
|
||||||
"crypto/sha1" //nolint:gosec
|
"crypto/sha1" //nolint:gosec
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
Reference in New Issue
Block a user