Conversation
3f30fca to
214bb2a
Compare
go.mod
Outdated
| module github.com/pion/rtp | ||
|
|
||
| go 1.21 | ||
| go 1.22 |
There was a problem hiding this comment.
We can't bump go version now :(
Maybe we should do it after 4.3.
There was a problem hiding this comment.
Yeah I was wondering about that. Marking as blocked for now.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #351 +/- ##
=======================================
Coverage 82.58% 82.58%
=======================================
Files 28 28
Lines 3428 3428
=======================================
Hits 2831 2831
Misses 427 427
Partials 170 170
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
214bb2a to
1fca462
Compare
This allows for ranging over constant and testing.Loop requires go1.24 or later.
1fca462 to
d98a350
Compare
|
Nice changes @tmatth Worth adding to ci? Could we use an older version of the tool that doesn't to an upgrade? |
|
@Sean-Der we can use it with golangci-lint, but last time i checked, it cased some conflicts with some linters (gosec?), also i'll check how to set it so it doesn't try to force us to update Go version, I'm going to check again after the fact we upgraded golangci-lint to 2.6. |
|
Oh that's nice @JoTurk it's pretty wild how much 'Good Go Code' has changed. Especially in pion/turn it feels like a time portal :) |
Applied with
N.B. ranging over constants requires go >= 1.22 and testing.Loop requires go1.24 or later.