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 - path: cmd
linters: linters:
- forbidigo - 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> 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

View File

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

View File

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

View File

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

View File

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

View File

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