v2.2.0 64d39bf

ci.yml RawHistoryFolder

1name: CI
2
3on:
4  push:
5    branches: [main]
6    paths:
7      - '**.go'
8      - 'go.mod'
9      - 'go.sum'
10      - '.golangci.yml'
11      - 'Makefile'
12      - '.github/workflows/**'
13      - '!**.md'
14      - '!docs/**'
15      - '!LICENSE'
16  pull_request:
17    paths:
18      - '**.go'
19      - 'go.mod'
20      - 'go.sum'
21      - '.golangci.yml'
22      - 'Makefile'
23      - '.github/workflows/**'
24      - '!**.md'
25      - '!docs/**'
26      - '!LICENSE'
27
28jobs:
29  lint:
30    name: Lint
31    runs-on: ubuntu-latest
32    steps:
33      - uses: actions/checkout@v4
34
35      - uses: actions/setup-go@v5
36        with:
37          go-version: stable
38
39      - name: Cache Go modules
40        uses: actions/cache@v4
41        with:
42          path: ~/go/pkg/mod
43          key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
44          restore-keys: |
45            ${{ runner.os }}-go-mod-
46
47      - name: Run golangci-lint
48        uses: golangci/golangci-lint-action@v7
49        with:
50          version: latest
51
52  test:
53    name: Test
54    runs-on: ubuntu-latest
55    steps:
56      - uses: actions/checkout@v4
57
58      - uses: actions/setup-go@v5
59        with:
60          go-version: stable
61
62      - name: Cache Go modules
63        uses: actions/cache@v4
64        with:
65          path: ~/go/pkg/mod
66          key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
67          restore-keys: |
68            ${{ runner.os }}-go-mod-
69
70      - name: Cache Go build cache
71        uses: actions/cache@v4
72        with:
73          path: ~/.cache/go-build
74          key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
75          restore-keys: |
76            ${{ runner.os }}-go-build-
77
78      - name: Run tests
79        run: go test -race -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 7

Tags 106

↑↓ moveenter openesc close