detached 68ce22d

ci: fix hexcheck install, add runtime libraries and staticcheck, run once per change

commit
68ce22da2119775375f213cee30c9bf6b7ad77cf
author
brice · · 2026-09-26 16:23 UTC
parent
d9218d6
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
1 file · +14 -3
M .github/workflows/ci.yml +14 -3
@@ -1,5 +1,11 @@
11 name: CI
2-on: [push, pull_request]
2+on:
3+ push:
4+ branches: [main]
5+ pull_request:
6+concurrency:
7+ group: ci-${{ github.ref }}
8+ cancel-in-progress: true
39 jobs:
410 check:
511 runs-on: ubuntu-latest
@@ -8,10 +14,15 @@ jobs:
814 - uses: actions/setup-go@v5
915 with:
1016 go-version: '1.27'
11- - run: go install github.com/bnema/hexcheck@latest
17+ # Libraries loaded at runtime through purego; lavapipe gives tests a Vulkan device.
18+ - run: >-
19+ sudo apt-get update && sudo apt-get install -y
20+ glslc libwayland-server0 libxkbcommon0 libinput10 libseat1 libvulkan1 mesa-vulkan-drivers
21+ - run: go install github.com/bnema/hexcheck/cmd/hexcheck@v0.2.0
1222 - run: go install github.com/vektra/mockery/v3@v3.8.0
23+ - run: go install honnef.co/go/tools/cmd/staticcheck@latest
1324 - run: make check
1425 - run: make race
1526 - run: make mocks-check
16- - run: sudo apt-get install -y glslc
1727 - run: make spv-check
28+ - run: staticcheck ./...
@@ -1,5 +1,11 @@
1 name: CI1 name: CI
2-on: [push, pull_request]2+on:
3+ push:
4+ branches: [main]
5+ pull_request:
6+concurrency:
7+ group: ci-${{ github.ref }}
8+ cancel-in-progress: true
3 jobs:9 jobs:
4 check:10 check:
5 runs-on: ubuntu-latest11 runs-on: ubuntu-latest
@@ -8,10 +14,15 @@ jobs:
8 - uses: actions/setup-go@v514 - uses: actions/setup-go@v5
9 with:15 with:
10 go-version: '1.27'16 go-version: '1.27'
11- - run: go install github.com/bnema/hexcheck@latest17+ # Libraries loaded at runtime through purego; lavapipe gives tests a Vulkan device.
18+ - run: >-
19+ sudo apt-get update && sudo apt-get install -y
20+ glslc libwayland-server0 libxkbcommon0 libinput10 libseat1 libvulkan1 mesa-vulkan-drivers
21+ - run: go install github.com/bnema/hexcheck/cmd/hexcheck@v0.2.0
12 - run: go install github.com/vektra/mockery/v3@v3.8.022 - run: go install github.com/vektra/mockery/v3@v3.8.0
23+ - run: go install honnef.co/go/tools/cmd/staticcheck@latest
13 - run: make check24 - run: make check
14 - run: make race25 - run: make race
15 - run: make mocks-check26 - run: make mocks-check
16- - run: sudo apt-get install -y glslc
17 - run: make spv-check27 - run: make spv-check
28+ - run: staticcheck ./...

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 25

Tags 10

↑↓ moveenter openesc close