Skip to content

Update CI configs to v0.12.1#367

Merged
JoTurk merged 2 commits into
masterfrom
sync-assets-v0.12.1
Mar 27, 2026
Merged

Update CI configs to v0.12.1#367
JoTurk merged 2 commits into
masterfrom
sync-assets-v0.12.1

Conversation

@pionbot

@pionbot pionbot commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Update lint scripts and CI configs.

Update lint scripts and CI configs.
@codecov

codecov Bot commented Mar 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.63%. Comparing base (572c68a) to head (c5fbda1).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #367   +/-   ##
=======================================
  Coverage   82.63%   82.63%           
=======================================
  Files          19       19           
  Lines        1457     1457           
=======================================
  Hits         1204     1204           
  Misses        140      140           
  Partials      113      113           
Flag Coverage Δ
go 82.63% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- gosec G115: Add nolint for safe bit-shift integer
  conversions in key derivation and test data
- modernize: Use range over int, remove forvar copies
- gci: Fix nolint comment alignment

@JoTurk JoTurk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

Comment thread key_derivation.go
Comment on lines +63 to +71
counter[5] ^= byte(ssrc >> 16) //nolint:gosec
counter[6] ^= byte(ssrc >> 8) //nolint:gosec
counter[7] ^= byte(ssrc) //nolint:gosec
counter[8] ^= byte(rolloverCounter >> 24)
counter[9] ^= byte(rolloverCounter >> 16)
counter[10] ^= byte(rolloverCounter >> 8)
counter[11] ^= byte(rolloverCounter)
counter[9] ^= byte(rolloverCounter >> 16) //nolint:gosec
counter[10] ^= byte(rolloverCounter >> 8) //nolint:gosec
counter[11] ^= byte(rolloverCounter) //nolint:gosec
counter[12] ^= byte(sequenceNumber >> 8)
counter[13] ^= byte(sequenceNumber)
counter[13] ^= byte(sequenceNumber) //nolint:gosec

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can maybe add a comment to explain that it's a false positive or what linter we're suppressing.

@JoTurk JoTurk merged commit 4bcdae3 into master Mar 27, 2026
19 checks passed
@JoTurk JoTurk deleted the sync-assets-v0.12.1 branch March 27, 2026 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants