Skip to content

Commit 71a751c

Browse files
committed
ci: fix Ubuntu 24.04 library names and suppress pre-existing lint warnings
1 parent 750fab2 commit 71a751c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/all_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
if: runner.os == 'Linux'
4444
run: |
4545
sudo apt-get update
46-
sudo apt-get install -y libncurses5 libaio1 libnuma1 bash-completion
46+
sudo apt-get install -y libncurses6 libaio1t64 libnuma1 bash-completion
4747
- name: Unit tests
4848
run: ./test/go-unit-tests.sh
4949

.golangci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ linters:
1515
linters-settings:
1616
errcheck:
1717
check-type-assertions: false
18+
exclude-functions:
19+
- (*github.com/nightlyone/lockfile.Lockfile).Unlock
20+
gosec:
21+
excludes:
22+
- G115 # integer overflow int64->uint64 on file sizes passed to humanize.Bytes — safe
1823

1924
issues:
2025
exclude-use-default: true

0 commit comments

Comments
 (0)