v3.0.0-alpha.1 6fdddb8

ci.yml RawHistoryFolder

1name: CI
2
3on:
4  push:
5    branches: [main]
6  pull_request:
7
8jobs:
9  changes:
10    name: Detect changes
11    runs-on: ubuntu-latest
12    permissions:
13      pull-requests: read
14    outputs:
15      go: ${{ steps.filter.outputs.go }}
16      installer: ${{ steps.filter.outputs.installer }}
17    steps:
18      - uses: actions/checkout@v6
19      - uses: dorny/paths-filter@v3
20        id: filter
21        with:
22          filters: |
23            go:
24              - '**.go'
25              - 'go.mod'
26              - 'go.sum'
27              - '.golangci.yml'
28              - 'Makefile'
29              - '.github/workflows/**'
30            installer:
31              - 'install.sh'
32              - 'tests/install_next_test.sh'
33              - '.github/workflows/ci.yml'
34
35  installer:
36    name: Installer
37    needs: changes
38    if: needs.changes.outputs.installer == 'true'
39    runs-on: ubuntu-latest
40    steps:
41      - uses: actions/checkout@v6
42      - name: Check installer scripts
43        run: |
44          shellcheck -s sh install.sh tests/install_next_test.sh
45          sh tests/install_next_test.sh
46
47  lint:
48    name: Lint
49    needs: changes
50    if: needs.changes.outputs.go == 'true'
51    runs-on: ubuntu-latest
52    steps:
53      - uses: actions/checkout@v6
54
55      - uses: actions/setup-go@v5
56        with:
57          go-version: "1.27.x"
58          cache: true
59
60      - name: Run golangci-lint
61        uses: golangci/golangci-lint-action@v9
62        with:
63          version: v2.13.1
64
65  test:
66    name: Test
67    needs: changes
68    if: needs.changes.outputs.go == 'true'
69    runs-on: ubuntu-latest
70    steps:
71      - uses: actions/checkout@v6
72
73      - uses: actions/setup-go@v5
74        with:
75          go-version: "1.27.x"
76          cache: true
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