detached c2596cc

fix(ci): add WebKitGTK deps and frontend build for CGO support

commit
c2596cc2043077455d6c3067d4e91782d2bd2e5a
author
bnema · · 2025-11-29 21:14 UTC
parent
97ff69d
signature
unsigned
2 files · +20 -2
M .github/workflows/ci.yml +10 -1
@@ -19,6 +19,10 @@ jobs:
1919 - uses: actions/setup-node@v6
2020 with:
2121 node-version: '24'
22+ - name: Install WebKitGTK 6.0 dependencies
23+ run: |
24+ sudo apt-get update
25+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
2226 - name: Build frontend assets
2327 run: make build-frontend
2428 - name: Run golangci-lint
@@ -33,9 +37,14 @@ jobs:
3337 - uses: actions/setup-go@v6
3438 with:
3539 go-version: stable
40+ - uses: actions/setup-node@v6
41+ with:
42+ node-version: '24'
3643 - name: Install WebKitGTK 6.0 dependencies
3744 run: |
3845 sudo apt-get update
3946 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
47+ - name: Build frontend assets
48+ run: make build-frontend
4049 - name: Run tests
41- run: make test
50+ run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...
@@ -19,6 +19,10 @@ jobs:
19 - uses: actions/setup-node@v619 - uses: actions/setup-node@v6
20 with:20 with:
21 node-version: '24'21 node-version: '24'
22+ - name: Install WebKitGTK 6.0 dependencies
23+ run: |
24+ sudo apt-get update
25+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
22 - name: Build frontend assets26 - name: Build frontend assets
23 run: make build-frontend27 run: make build-frontend
24 - name: Run golangci-lint28 - name: Run golangci-lint
@@ -33,9 +37,14 @@ jobs:
33 - uses: actions/setup-go@v637 - uses: actions/setup-go@v6
34 with:38 with:
35 go-version: stable39 go-version: stable
40+ - uses: actions/setup-node@v6
41+ with:
42+ node-version: '24'
36 - name: Install WebKitGTK 6.0 dependencies43 - name: Install WebKitGTK 6.0 dependencies
37 run: |44 run: |
38 sudo apt-get update45 sudo apt-get update
39 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev46 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
47+ - name: Build frontend assets
48+ run: make build-frontend
40 - name: Run tests49 - name: Run tests
41- run: make test50+ run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...
M .github/workflows/release.yml +10 -1
@@ -47,6 +47,10 @@ jobs:
4747 - uses: actions/setup-node@v6
4848 with:
4949 node-version: '24'
50+ - name: Install WebKitGTK 6.0 dependencies
51+ run: |
52+ sudo apt-get update
53+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
5054 - name: Build frontend assets
5155 run: make build-frontend
5256 - name: Run golangci-lint
@@ -63,12 +67,17 @@ jobs:
6367 - uses: actions/setup-go@v6
6468 with:
6569 go-version: stable
70+ - uses: actions/setup-node@v6
71+ with:
72+ node-version: '24'
6673 - name: Install WebKitGTK 6.0 dependencies
6774 run: |
6875 sudo apt-get update
6976 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
77+ - name: Build frontend assets
78+ run: make build-frontend
7079 - name: Run tests
71- run: make test
80+ run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...
7281
7382 release:
7483 needs: [check-changes, lint, test]
@@ -47,6 +47,10 @@ jobs:
47 - uses: actions/setup-node@v647 - uses: actions/setup-node@v6
48 with:48 with:
49 node-version: '24'49 node-version: '24'
50+ - name: Install WebKitGTK 6.0 dependencies
51+ run: |
52+ sudo apt-get update
53+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
50 - name: Build frontend assets54 - name: Build frontend assets
51 run: make build-frontend55 run: make build-frontend
52 - name: Run golangci-lint56 - name: Run golangci-lint
@@ -63,12 +67,17 @@ jobs:
63 - uses: actions/setup-go@v667 - uses: actions/setup-go@v6
64 with:68 with:
65 go-version: stable69 go-version: stable
70+ - uses: actions/setup-node@v6
71+ with:
72+ node-version: '24'
66 - name: Install WebKitGTK 6.0 dependencies73 - name: Install WebKitGTK 6.0 dependencies
67 run: |74 run: |
68 sudo apt-get update75 sudo apt-get update
69 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev76 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
77+ - name: Build frontend assets
78+ run: make build-frontend
70 - name: Run tests79 - name: Run tests
71- run: make test80+ run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...
72 81
73 release:82 release:
74 needs: [check-changes, lint, test]83 needs: [check-changes, lint, test]

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