Update CI configs to v0.11.18

Update lint scripts and CI configs.
This commit is contained in:
Pion Bot
2025-02-13 23:43:55 -05:00
committed by GitHub
parent 3c14bcb8eb
commit f00fc07896
7 changed files with 6 additions and 7 deletions

View File

@@ -136,4 +136,3 @@ issues:
- path: cmd
linters:
- forbidigo

View File

@@ -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

View File

@@ -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()

View File

@@ -3,7 +3,7 @@
package stun
import ( //nolint:gci
import (
"crypto/md5" //nolint:gosec
"crypto/sha1" //nolint:gosec
"errors"

View File

@@ -3,7 +3,7 @@
package hmac
import ( //nolint:gci
import (
"crypto/md5" //nolint:gosec
"crypto/sha1" //nolint:gosec
"crypto/sha256"

View File

@@ -3,7 +3,7 @@
package hmac
import ( //nolint:gci
import (
"crypto/sha1" //nolint:gosec
"crypto/sha256"
"hash"

View File

@@ -3,7 +3,7 @@
package hmac
import ( //nolint:gci
import (
"crypto/sha1" //nolint:gosec
"crypto/sha256"
"fmt"