detached c6dc27c

Merge pull request 'fix(ci): pin mockery and staticcheck with x/tools v0.51.0' (#33) from fix/ci-tools-xtools into main

commit
c6dc27c2c5d344e27650e8a5c875c8ecba7cc692
author
bnema · · 2026-10-09 11:43 UTC
merge of
485c1f3 + f0823d1 · diff against the first parent
signature
SSH UnverifiedSHA256:VOCA5lYARHcbKDZ7GhTV45VmcjWnJ6ZQIBazj17LivA The key is unknown
3 files · +170 -2
M .github/workflows/ci.yml +1 -2
@@ -33,8 +33,7 @@ jobs:
3333 install -d -m 700 "$XDG_RUNTIME_DIR"
3434 - run: |
3535 go install github.com/bnema/hexcheck/cmd/hexcheck@v0.3.1
36- go install github.com/vektra/mockery/v3@v3.8.0
37- go install honnef.co/go/tools/cmd/staticcheck@latest
36+ cd tools && GOBIN=$HOME/go/bin go install tool
3837 - run: make check
3938 - run: make race
4039 - run: make mocks-check
@@ -33,8 +33,7 @@ jobs:
33 install -d -m 700 "$XDG_RUNTIME_DIR"33 install -d -m 700 "$XDG_RUNTIME_DIR"
34 - run: |34 - run: |
35 go install github.com/bnema/hexcheck/cmd/hexcheck@v0.3.135 go install github.com/bnema/hexcheck/cmd/hexcheck@v0.3.1
36- go install github.com/vektra/mockery/v3@v3.8.036+ cd tools && GOBIN=$HOME/go/bin go install tool
37- go install honnef.co/go/tools/cmd/staticcheck@latest
38 - run: make check37 - run: make check
39 - run: make race38 - run: make race
40 - run: make mocks-check39 - run: make mocks-check
A tools/go.mod +52 -0
@@ -0,0 +1,52 @@
1+// CI tools, pinned with a golang.org/x/tools that reads the export data of
2+// the Go release in use. Install: cd tools && GOBIN=$HOME/go/bin go install tool
3+module github.com/bnema/neferwl/tools
4+
5+go 1.27
6+
7+tool (
8+ github.com/vektra/mockery/v3
9+ honnef.co/go/tools/cmd/staticcheck
10+)
11+
12+require (
13+ github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c // indirect
14+ github.com/brunoga/deep v1.3.1 // indirect
15+ github.com/clipperhouse/uax29/v2 v2.2.0 // indirect
16+ github.com/fatih/structs v1.1.0 // indirect
17+ github.com/fsnotify/fsnotify v1.9.0 // indirect
18+ github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
19+ github.com/huandu/xstrings v1.5.0 // indirect
20+ github.com/inconshreveable/mousetrap v1.1.0 // indirect
21+ github.com/jedib0t/go-pretty/v6 v6.7.8 // indirect
22+ github.com/knadh/koanf/maps v0.1.2 // indirect
23+ github.com/knadh/koanf/parsers/yaml v1.1.0 // indirect
24+ github.com/knadh/koanf/providers/env v1.1.0 // indirect
25+ github.com/knadh/koanf/providers/file v1.2.1 // indirect
26+ github.com/knadh/koanf/providers/posflag v1.0.1 // indirect
27+ github.com/knadh/koanf/providers/structs v1.0.0 // indirect
28+ github.com/knadh/koanf/v2 v2.3.2 // indirect
29+ github.com/mattn/go-colorable v0.1.14 // indirect
30+ github.com/mattn/go-isatty v0.0.20 // indirect
31+ github.com/mattn/go-runewidth v0.0.19 // indirect
32+ github.com/mitchellh/copystructure v1.2.0 // indirect
33+ github.com/mitchellh/reflectwalk v1.0.2 // indirect
34+ github.com/rs/zerolog v1.34.0 // indirect
35+ github.com/spf13/cobra v1.10.2 // indirect
36+ github.com/spf13/pflag v1.0.10 // indirect
37+ github.com/vektra/mockery/v3 v3.8.0 // indirect
38+ github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
39+ github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
40+ github.com/xeipuuv/gojsonschema v1.2.0 // indirect
41+ go.yaml.in/yaml/v3 v3.0.4 // indirect
42+ golang.org/x/exp v0.0.0-20260212183809-81e46e3db34a // indirect
43+ golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678 // indirect
44+ golang.org/x/mod v0.41.0 // indirect
45+ golang.org/x/sync v0.23.0 // indirect
46+ golang.org/x/sys v0.48.0 // indirect
47+ golang.org/x/term v0.40.0 // indirect
48+ golang.org/x/text v0.34.0 // indirect
49+ golang.org/x/tools v0.51.0 // indirect
50+ gopkg.in/yaml.v3 v3.0.1 // indirect
51+ honnef.co/go/tools v0.8.1 // indirect
52+)
@@ -0,0 +1,52 @@
1+// CI tools, pinned with a golang.org/x/tools that reads the export data of
2+// the Go release in use. Install: cd tools && GOBIN=$HOME/go/bin go install tool
3+module github.com/bnema/neferwl/tools
4+
5+go 1.27
6+
7+tool (
8+ github.com/vektra/mockery/v3
9+ honnef.co/go/tools/cmd/staticcheck
10+)
11+
12+require (
13+ github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c // indirect
14+ github.com/brunoga/deep v1.3.1 // indirect
15+ github.com/clipperhouse/uax29/v2 v2.2.0 // indirect
16+ github.com/fatih/structs v1.1.0 // indirect
17+ github.com/fsnotify/fsnotify v1.9.0 // indirect
18+ github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
19+ github.com/huandu/xstrings v1.5.0 // indirect
20+ github.com/inconshreveable/mousetrap v1.1.0 // indirect
21+ github.com/jedib0t/go-pretty/v6 v6.7.8 // indirect
22+ github.com/knadh/koanf/maps v0.1.2 // indirect
23+ github.com/knadh/koanf/parsers/yaml v1.1.0 // indirect
24+ github.com/knadh/koanf/providers/env v1.1.0 // indirect
25+ github.com/knadh/koanf/providers/file v1.2.1 // indirect
26+ github.com/knadh/koanf/providers/posflag v1.0.1 // indirect
27+ github.com/knadh/koanf/providers/structs v1.0.0 // indirect
28+ github.com/knadh/koanf/v2 v2.3.2 // indirect
29+ github.com/mattn/go-colorable v0.1.14 // indirect
30+ github.com/mattn/go-isatty v0.0.20 // indirect
31+ github.com/mattn/go-runewidth v0.0.19 // indirect
32+ github.com/mitchellh/copystructure v1.2.0 // indirect
33+ github.com/mitchellh/reflectwalk v1.0.2 // indirect
34+ github.com/rs/zerolog v1.34.0 // indirect
35+ github.com/spf13/cobra v1.10.2 // indirect
36+ github.com/spf13/pflag v1.0.10 // indirect
37+ github.com/vektra/mockery/v3 v3.8.0 // indirect
38+ github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
39+ github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
40+ github.com/xeipuuv/gojsonschema v1.2.0 // indirect
41+ go.yaml.in/yaml/v3 v3.0.4 // indirect
42+ golang.org/x/exp v0.0.0-20260212183809-81e46e3db34a // indirect
43+ golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678 // indirect
44+ golang.org/x/mod v0.41.0 // indirect
45+ golang.org/x/sync v0.23.0 // indirect
46+ golang.org/x/sys v0.48.0 // indirect
47+ golang.org/x/term v0.40.0 // indirect
48+ golang.org/x/text v0.34.0 // indirect
49+ golang.org/x/tools v0.51.0 // indirect
50+ gopkg.in/yaml.v3 v3.0.1 // indirect
51+ honnef.co/go/tools v0.8.1 // indirect
52+)
A tools/go.sum +117 -0 generated file: collapsed

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 25

Tags 10

↑↓ moveenter openesc close