detached 3b2ffc6

fix(ci): add frontend build to lint and skip CGO tests

commit
3b2ffc697121d3c2d70bab11a0214e24d58cb08a
author
bnema · · 2025-11-30 04:38 UTC
committer
bnema · · 2025-11-30 04:38 UTC
parent
495f8d7
signature
unsigned
1 file · +7 -11
M .github/workflows/ci.yml +7 -11
@@ -17,10 +17,15 @@ jobs:
1717 with:
1818 go-version: stable
1919 cache: true
20+ - uses: actions/setup-node@v6
21+ with:
22+ node-version: '24'
2023 - name: Install WebKitGTK 6.0 dependencies
2124 run: |
2225 sudo apt-get update
2326 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libgirepository1.0-dev
27+ - name: Build frontend assets
28+ run: make build-frontend
2429 - name: Run golangci-lint
2530 uses: golangci/golangci-lint-action@v7
2631 with:
@@ -36,14 +41,5 @@ jobs:
3641 with:
3742 go-version: stable
3843 cache: true
39- - uses: actions/setup-node@v6
40- with:
41- node-version: '24'
42- - name: Install WebKitGTK 6.0 dependencies
43- run: |
44- sudo apt-get update
45- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libgirepository1.0-dev
46- - name: Build frontend assets
47- run: make build-frontend
48- - name: Run tests
49- run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...
44+ - name: Run tests (non-CGO packages only)
45+ run: CGO_ENABLED=0 go test -v ./...
@@ -17,10 +17,15 @@ jobs:
17 with:17 with:
18 go-version: stable18 go-version: stable
19 cache: true19 cache: true
20+ - uses: actions/setup-node@v6
21+ with:
22+ node-version: '24'
20 - name: Install WebKitGTK 6.0 dependencies23 - name: Install WebKitGTK 6.0 dependencies
21 run: |24 run: |
22 sudo apt-get update25 sudo apt-get update
23 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libgirepository1.0-dev26 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libgirepository1.0-dev
27+ - name: Build frontend assets
28+ run: make build-frontend
24 - name: Run golangci-lint29 - name: Run golangci-lint
25 uses: golangci/golangci-lint-action@v730 uses: golangci/golangci-lint-action@v7
26 with:31 with:
@@ -36,14 +41,5 @@ jobs:
36 with:41 with:
37 go-version: stable42 go-version: stable
38 cache: true43 cache: true
39- - uses: actions/setup-node@v644+ - name: Run tests (non-CGO packages only)
40- with:45+ run: CGO_ENABLED=0 go test -v ./...
41- node-version: '24'
42- - name: Install WebKitGTK 6.0 dependencies
43- run: |
44- sudo apt-get update
45- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libgirepository1.0-dev
46- - name: Build frontend assets
47- run: make build-frontend
48- - name: Run tests
49- run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...

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 8

Tags 42

↑↓ moveenter openesc close