Update CI configs to v0.4.5

Update lint scripts and CI configs.
Excluding codecov.yml.
This commit is contained in:
Pion
2020-09-09 06:15:01 +00:00
committed by Sean DuBois
parent 43637480b7
commit c044f70398
20 changed files with 228 additions and 284 deletions

View File

@@ -19,14 +19,14 @@ func BenchmarkBuildOverhead(b *testing.B) {
b.ReportAllocs()
m := new(Message)
for i := 0; i < b.N; i++ {
m.Build(&t, &username, &nonce, &realm, &Fingerprint)
m.Build(&t, &username, &nonce, &realm, &Fingerprint) //nolint: errcheck
}
})
b.Run("BuildNonPointer", func(b *testing.B) {
b.ReportAllocs()
m := new(Message)
for i := 0; i < b.N; i++ {
m.Build(t, username, nonce, realm, Fingerprint)
m.Build(t, username, nonce, realm, Fingerprint) //nolint: errcheck //nolint: errcheck
}
})
b.Run("Raw", func(b *testing.B) {
@@ -36,10 +36,10 @@ func BenchmarkBuildOverhead(b *testing.B) {
m.Reset()
m.WriteHeader()
m.SetType(t)
username.AddTo(m)
nonce.AddTo(m)
realm.AddTo(m)
Fingerprint.AddTo(m)
username.AddTo(m) //nolint: errcheck
nonce.AddTo(m) //nolint: errcheck
realm.AddTo(m) //nolint: errcheck
Fingerprint.AddTo(m) //nolint: errcheck
}
})
}