Update CI configs to v0.11.7

Update lint scripts and CI configs.
This commit is contained in:
Pion
2024-04-02 16:45:03 +00:00
committed by Sean DuBois
parent 92df4bf0ec
commit cf2c657a73
2 changed files with 4 additions and 5 deletions

View File

@@ -3,7 +3,8 @@
linters-settings: linters-settings:
govet: govet:
check-shadowing: true enable:
- shadow
misspell: misspell:
locale: US locale: US
exhaustive: exhaustive:
@@ -110,6 +111,7 @@ linters:
issues: issues:
exclude-use-default: false exclude-use-default: false
exclude-dirs-use-default: false
exclude-rules: exclude-rules:
# Allow complex tests and examples, better to be self contained # Allow complex tests and examples, better to be self contained
- path: (examples|main\.go|_test\.go) - path: (examples|main\.go|_test\.go)
@@ -121,6 +123,3 @@ issues:
- path: cmd - path: cmd
linters: linters:
- forbidigo - forbidigo
run:
skip-dirs-use-default: false

View File

@@ -2,7 +2,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Pion Upstream-Name: Pion
Source: https://github.com/pion/ Source: https://github.com/pion/
Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum **/go.mod **/go.sum .eslintrc.json package.json examples/examples.json Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum **/go.mod **/go.sum .eslintrc.json package.json examples.json sfu-ws/flutter/.gitignore sfu-ws/flutter/pubspec.yaml c-data-channels/webrtc.h examples/examples.json
Copyright: 2023 The Pion community <https://pion.ly> Copyright: 2023 The Pion community <https://pion.ly>
License: MIT License: MIT