detached 4205916

ci(release): drop redundant lint/test jobs

commit
420591658aee8cffdb6ff87a8aa6a72f383dd4d7
author
brice · · 2025-12-30 17:55 UTC
parent
65c04ba
signature
unsigned
1 file · +3 -73
M .github/workflows/release.yml +3 -73
@@ -1,3 +1,4 @@
1+
12 name: Release
23
34 on:
@@ -9,97 +10,26 @@ permissions:
910 contents: write
1011
1112 jobs:
12- check-changes:
13+ release:
1314 runs-on: ubuntu-latest
14- outputs:
15- should_release: ${{ steps.check.outputs.should_release }}
1615 steps:
1716 - uses: actions/checkout@v6
1817 with:
1918 fetch-depth: 0
20- - name: Check for release-worthy changes
21- id: check
22- run: |
23- # Get previous tag
24- PREV_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
25- if [ -z "$PREV_TAG" ]; then
26- echo "should_release=true" >> $GITHUB_OUTPUT
27- exit 0
28- fi
29- # Check if any non-doc files changed
30- CHANGES=$(git diff --name-only $PREV_TAG HEAD | grep -v -E '(\.md$|^docs/|^\.github/workflows/|^LICENSE$)' || true)
31- if [ -n "$CHANGES" ]; then
32- echo "should_release=true" >> $GITHUB_OUTPUT
33- else
34- echo "should_release=false" >> $GITHUB_OUTPUT
35- echo "Only docs/CI changes detected, skipping release"
36- fi
3719
38- lint:
39- needs: check-changes
40- if: needs.check-changes.outputs.should_release == 'true'
41- runs-on: ubuntu-latest
42- steps:
43- - uses: actions/checkout@v6
4420 - uses: actions/setup-go@v6
4521 with:
4622 go-version: stable
47- - uses: actions/setup-node@v6
48- with:
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 libadwaita-1-dev
54- - name: Build frontend assets
55- run: make build-frontend
56- - name: Run golangci-lint
57- uses: golangci/golangci-lint-action@v7
58- with:
59- version: v2.6.2
6023
61- test:
62- needs: check-changes
63- if: needs.check-changes.outputs.should_release == 'true'
64- runs-on: ubuntu-latest
65- steps:
66- - uses: actions/checkout@v6
67- - uses: actions/setup-go@v6
68- with:
69- go-version: stable
7024 - uses: actions/setup-node@v6
7125 with:
7226 node-version: '24'
73- - name: Install WebKitGTK 6.0 dependencies
74- run: |
75- sudo apt-get update
76- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
77- - name: Build frontend assets
78- run: make build-frontend
79- - name: Run tests
80- env:
81- GDK_BACKEND: wayland
82- WAYLAND_DISPLAY: wayland-0
83- run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...
8427
85- release:
86- needs: [check-changes, lint, test]
87- if: needs.check-changes.outputs.should_release == 'true'
88- runs-on: ubuntu-latest
89- steps:
90- - uses: actions/checkout@v6
91- with:
92- fetch-depth: 0
93- - uses: actions/setup-go@v6
94- with:
95- go-version: stable
9628 - name: Install WebKitGTK 6.0 dependencies
9729 run: |
9830 sudo apt-get update
9931 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
100- - uses: actions/setup-node@v6
101- with:
102- node-version: '24'
32+
10333 - name: Run GoReleaser
10434 uses: goreleaser/goreleaser-action@v6
10535 with:
@@ -1,3 +1,4 @@
1+
1 name: Release2 name: Release
2 3
3 on:4 on:
@@ -9,97 +10,26 @@ permissions:
9 contents: write10 contents: write
10 11
11 jobs:12 jobs:
12- check-changes:13+ release:
13 runs-on: ubuntu-latest14 runs-on: ubuntu-latest
14- outputs:
15- should_release: ${{ steps.check.outputs.should_release }}
16 steps:15 steps:
17 - uses: actions/checkout@v616 - uses: actions/checkout@v6
18 with:17 with:
19 fetch-depth: 018 fetch-depth: 0
20- - name: Check for release-worthy changes
21- id: check
22- run: |
23- # Get previous tag
24- PREV_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
25- if [ -z "$PREV_TAG" ]; then
26- echo "should_release=true" >> $GITHUB_OUTPUT
27- exit 0
28- fi
29- # Check if any non-doc files changed
30- CHANGES=$(git diff --name-only $PREV_TAG HEAD | grep -v -E '(\.md$|^docs/|^\.github/workflows/|^LICENSE$)' || true)
31- if [ -n "$CHANGES" ]; then
32- echo "should_release=true" >> $GITHUB_OUTPUT
33- else
34- echo "should_release=false" >> $GITHUB_OUTPUT
35- echo "Only docs/CI changes detected, skipping release"
36- fi
37 19
38- lint:
39- needs: check-changes
40- if: needs.check-changes.outputs.should_release == 'true'
41- runs-on: ubuntu-latest
42- steps:
43- - uses: actions/checkout@v6
44 - uses: actions/setup-go@v620 - uses: actions/setup-go@v6
45 with:21 with:
46 go-version: stable22 go-version: stable
47- - uses: actions/setup-node@v6
48- with:
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 libadwaita-1-dev
54- - name: Build frontend assets
55- run: make build-frontend
56- - name: Run golangci-lint
57- uses: golangci/golangci-lint-action@v7
58- with:
59- version: v2.6.2
60 23
61- test:
62- needs: check-changes
63- if: needs.check-changes.outputs.should_release == 'true'
64- runs-on: ubuntu-latest
65- steps:
66- - uses: actions/checkout@v6
67- - uses: actions/setup-go@v6
68- with:
69- go-version: stable
70 - uses: actions/setup-node@v624 - uses: actions/setup-node@v6
71 with:25 with:
72 node-version: '24'26 node-version: '24'
73- - name: Install WebKitGTK 6.0 dependencies
74- run: |
75- sudo apt-get update
76- sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
77- - name: Build frontend assets
78- run: make build-frontend
79- - name: Run tests
80- env:
81- GDK_BACKEND: wayland
82- WAYLAND_DISPLAY: wayland-0
83- run: CGO_ENABLED=1 go test -tags=webkit_cgo -v ./...
84 27
85- release:
86- needs: [check-changes, lint, test]
87- if: needs.check-changes.outputs.should_release == 'true'
88- runs-on: ubuntu-latest
89- steps:
90- - uses: actions/checkout@v6
91- with:
92- fetch-depth: 0
93- - uses: actions/setup-go@v6
94- with:
95- go-version: stable
96 - name: Install WebKitGTK 6.0 dependencies28 - name: Install WebKitGTK 6.0 dependencies
97 run: |29 run: |
98 sudo apt-get update30 sudo apt-get update
99 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev31 sudo apt-get install -y libwebkitgtk-6.0-dev libgtk-4-dev libadwaita-1-dev
100- - uses: actions/setup-node@v632+
101- with:
102- node-version: '24'
103 - name: Run GoReleaser33 - name: Run GoReleaser
104 uses: goreleaser/goreleaser-action@v634 uses: goreleaser/goreleaser-action@v6
105 with:35 with:

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