Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,26 @@ jobs:

timeout-minutes: 60
steps:
- name: Check out code
uses: actions/checkout@v6

- name: Download code coverage results
uses: actions/download-artifact@v8
with:
name: coverage
path: coverage

- run: |
echo 'mode: atomic' > summary.txt
tail -q -n +2 *.out >> summary.txt
sed -i '2,${/roadrunner/!d}' summary.txt
tail -q -n +2 coverage/*.out >> summary.txt
awk '
NR == 1 { print; next }
/^github\.com\/roadrunner-server\/metrics\/v5\// {
sub(/^github\.com\/roadrunner-server\/metrics\/v5\//, "", $0)
print
}
' summary.txt > summary.filtered.txt
mv summary.filtered.txt summary.txt

- name: upload to codecov
uses: codecov/codecov-action@v5 # Docs: <https://github.com/codecov/codecov-action>
Expand Down
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ linters:
for-loops: true
wsl:
allow-assign-and-anything: true
revive:
rules:
- name: var-naming
disabled: true
exclusions:
generated: lax
presets:
Expand Down
Loading