pion / stun

A Go implementation of STUN
https://pion.ly/
MIT License
625 stars 94 forks source link

Update CI configs to v0.2.1 #30

Closed pionbot closed 4 years ago

pionbot commented 4 years ago

Update lint scripts and CI configs. Excluding codecov.yml.

codecov[bot] commented 4 years ago

Codecov Report

Merging #30 into master will decrease coverage by 0.16%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
- Coverage   99.83%   99.66%   -0.17%     
==========================================
  Files          18       19       +1     
  Lines        1190     1196       +6     
==========================================
+ Hits         1188     1192       +4     
- Misses          1        2       +1     
- Partials        1        2       +1     
Flag Coverage Δ
#go 99.66% <100.00%> (?)
#wasm 55.93% <40.00%> (?)
Impacted Files Coverage Δ
client.go 100.00% <100.00%> (ø)
helpers.go 100.00% <100.00%> (ø)
internal/hmac/pool.go 100.00% <100.00%> (ø)
message.go 100.00% <100.00%> (ø)
stun.go 100.00% <100.00%> (ø)
internal/testutil/allocs.go 66.66% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b3285c8...fef72b3. Read the comment docs.

at-wat commented 4 years ago
$ bash .github/assert-contributors.sh
remote: Enumerating objects: 3168, done.
remote: Counting objects: 100% (3136/3136), done.
remote: Compressing objects: 100% (1148/1148), done.
remote: Total 3007 (delta 1812), reused 2924 (delta 1735), pack-reused 0
Receiving objects: 100% (3007/3007), 1.37 MiB | 9.43 MiB/s, done.
Resolving deltas: 100% (1812/1812), completed with 68 local objects.
Please add the following contributors to the README
Atsushi Watanabe
fossabot
John Bradley
The command "bash .github/assert-contributors.sh" exited with 1.
$ bash .github/lint-disallowed-functions-in-library.sh
/home/travis/gopath/src/github.com/pion/stun/.github/../cmd/stun-multiplex/main.go:             os.Exit(2)
os.Exit( may only be used in example code
The command "bash .github/lint-disallowed-functions-in-library.sh" exited with 1.
$ bash .github/lint-commit-message.sh
The command "bash .github/lint-commit-message.sh" exited with 0.
$ bash .github/lint-filename.sh
stun-client.go is not a valid filename for Go code, only alpha, numbers and underscores are supported
The command "bash .github/lint-filename.sh" exited with 1.
$ golangci-lint run ./...
The command "golangci-lint run ./..." exited with 0.
at-wat commented 4 years ago

31