detached 65c04ba

ci(release): install libadwaita for cgo tests

commit
65c04ba9e1a204f32e8531acbca8e6993695391f
author
brice · · 2025-12-30 17:51 UTC
parent
15f97d3
signature
unsigned
1 file · +6 -3
M .github/workflows/release.yml +6 -3
@@ -50,7 +50,7 @@ jobs:
5050 - name: Install WebKitGTK 6.0 dependencies
5151 run: |
5252 sudo apt-get update
53- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
53+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
5454 - name: Build frontend assets
5555 run: make build-frontend
5656 - name: Run golangci-lint
@@ -73,10 +73,13 @@ jobs:
7373 - name: Install WebKitGTK 6.0 dependencies
7474 run: |
7575 sudo apt-get update
76- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
76+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
7777 - name: Build frontend assets
7878 run: make build-frontend
7979 - name: Run tests
80+ env:
81+ GDK_BACKEND: wayland
82+ WAYLAND_DISPLAY: wayland-0
8083 run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...
8184
8285 release:
@@ -93,7 +96,7 @@ jobs:
9396 - name: Install WebKitGTK 6.0 dependencies
9497 run: |
9598 sudo apt-get update
96- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev
99+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
97100 - uses: actions/setup-node@v6
98101 with:
99102 node-version: '24'
@@ -50,7 +50,7 @@ jobs:
50 - name: Install WebKitGTK 6.0 dependencies50 - name: Install WebKitGTK 6.0 dependencies
51 run: |51 run: |
52 sudo apt-get update52 sudo apt-get update
53- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev53+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
54 - name: Build frontend assets54 - name: Build frontend assets
55 run: make build-frontend55 run: make build-frontend
56 - name: Run golangci-lint56 - name: Run golangci-lint
@@ -73,10 +73,13 @@ jobs:
73 - name: Install WebKitGTK 6.0 dependencies73 - name: Install WebKitGTK 6.0 dependencies
74 run: |74 run: |
75 sudo apt-get update75 sudo apt-get update
76- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev76+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
77 - name: Build frontend assets77 - name: Build frontend assets
78 run: make build-frontend78 run: make build-frontend
79 - name: Run tests79 - name: Run tests
80+ env:
81+ GDK_BACKEND: wayland
82+ WAYLAND_DISPLAY: wayland-0
80 run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...83 run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...
81 84
82 release:85 release:
@@ -93,7 +96,7 @@ jobs:
93 - name: Install WebKitGTK 6.0 dependencies96 - name: Install WebKitGTK 6.0 dependencies
94 run: |97 run: |
95 sudo apt-get update98 sudo apt-get update
96- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev99+ sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
97 - uses: actions/setup-node@v6100 - uses: actions/setup-node@v6
98 with:101 with:
99 node-version: '24'102 node-version: '24'

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