main e86dbd6

Lint failure 1m 03s

Annotations 3

  • Run golangci/golangci-lint-action@v9

    error

    bnema.dev/ermite-api@v0.14.0: replacement directory ../../../ermite-api/.worktrees/mr-ready-merge-checks does not exist) (typecheck)

  • error

    bnema.dev/ermite-api@v0.14.0: replacement directory ../../../ermite-api/.worktrees/mr-ready-merge-checks does not exist) (typecheck)

  • error

    issues found

  1. Current runner version: 'v0.5.1'
  2. GITHUB_TOKEN Permissions
  3. Contents: read
  4. Metadata: read
  5. Packages: read
  6. Secret source: Actions
  7. Cache mode: write
  8. Prepare workflow directory
  9. Prepare all required actions
  10. Getting action download info
  11. Download action repository 'actions/checkout@v6' (SHA:d23441a48e516b6c34aea4fa41551a30e30af803)
  12. Download action repository 'actions/setup-go@v7' (SHA:b7ad1dad31e06c5925ef5d2fc7ad053ef454303e)
  13. Download action repository 'golangci/golangci-lint-action@v9' (SHA:ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a)
  14. Complete job name: Lint
  15. Run actions/checkout@v6
  16. with:
  17. repository: bnema/ermite
  18. token: ***
  19. ssh-strict: true
  20. ssh-user: git
  21. persist-credentials: true
  22. clean: true
  23. sparse-checkout-cone-mode: true
  24. fetch-depth: 1
  25. fetch-tags: false
  26. show-progress: true
  27. lfs: false
  28. submodules: false
  29. set-safe-directory: true
  30. allow-unsafe-pr-checkout: false
  31. env:
  32. GOWORK: off
  33. Syncing repository: bnema/ermite
  34. Getting Git version info
  35. Working directory is '/home/runner/work/ermite/ermite'
  36. [command]/usr/bin/git version
  37. git version 2.53.0
  38. Temporarily overriding HOME='/home/runner/work/_temp/62747cf6-b23d-4a57-a039-abf79a0f2bfe' before making global git config changes
  39. Adding repository directory to the temporary git global config as a safe directory
  40. [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ermite/ermite
  41. Deleting the contents of '/home/runner/work/ermite/ermite'
  42. Determining repository object format
  43. Initializing the repository
  44. [command]/usr/bin/git init /home/runner/work/ermite/ermite
  45. hint: Using 'master' as the name for the initial branch. This default branch name
  46. hint: will change to "main" in Git 3.0. To configure the initial branch name
  47. hint: to use in all of your new repositories, which will suppress this warning,
  48. hint: call:
  49. hint:
  50. hint: git config --global init.defaultBranch <name>
  51. hint:
  52. hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
  53. hint: 'development'. The just-created branch can be renamed via this command:
  54. hint:
  55. hint: git branch -m <name>
  56. hint:
  57. hint: Disable this message with "git config set advice.defaultBranchName false"
  58. Initialized empty Git repository in /home/runner/work/ermite/ermite/.git/
  59. [command]/usr/bin/git remote add origin http://ermite:7341/bnema/ermite
  60. Disabling automatic garbage collection
  61. [command]/usr/bin/git config --local gc.auto 0
  62. Setting up auth
  63. Removing SSH command configuration
  64. [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
  65. [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
  66. Removing HTTP extra header
  67. [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
  68. [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/ermite\:7341\/\.extraheader' && git config --local --unset-all 'http.http://ermite:7341/.extraheader' || :"
  69. Removing includeIf entries pointing to credentials config files
  70. [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
  71. [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
  72. [command]/usr/bin/git config --file /home/runner/work/_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config http.http://ermite:7341/.extraheader AUTHORIZATION: basic ***
  73. [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/ermite/ermite/.git.path /home/runner/work/_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  74. [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  75. [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  76. [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  77. Fetching the repository
  78. [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +c3e6dbe7b4df14cff9b7f8abd10c61e9252b0326:refs/remotes/pull/23/merge
  79. From http://ermite:7341/bnema/ermite
  80. * [new ref] c3e6dbe7b4df14cff9b7f8abd10c61e9252b0326 -> pull/23/merge
  81. Determining the checkout info
  82. [command]/usr/bin/git sparse-checkout disable
  83. [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
  84. Checking out the ref
  85. [command]/usr/bin/git checkout --progress --force refs/remotes/pull/23/merge
  86. Note: switching to 'refs/remotes/pull/23/merge'.
  87. You are in 'detached HEAD' state. You can look around, make experimental
  88. changes and commit them, and you can discard any commits you make in this
  89. state without impacting any branches by switching back to a branch.
  90. If you want to create a new branch to retain commits you create, you may
  91. do so (now or later) by using -c with the switch command. Example:
  92. git switch -c <new-branch-name>
  93. Or undo this operation with:
  94. git switch -
  95. Turn off this advice by setting config variable advice.detachedHead to false
  96. HEAD is now at c3e6dbe Merge eba8ed78a9322e7b454e9d156553ffe57cc7d139 into d5e05051ad53ec339fe415696d1b993cbc0c7948
  97. [command]/usr/bin/git log -1 --format=%H
  98. c3e6dbe7b4df14cff9b7f8abd10c61e9252b0326
  99. Run actions/setup-go@v7
  100. with:
  101. go-version-file: go.mod
  102. cache: true
  103. check-latest: false
  104. env:
  105. GOWORK: off
  106. Setup go version spec 1.27.1
  107. Attempting to download 1.27.1...
  108. matching 1.27.1...
  109. Acquiring 1.27.1 from https://github.com/actions/go-versions/releases/download/1.27.1-33583469715/go-1.27.1-linux-x64.tar.gz
  110. Extracting Go...
  111. [command]/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/6859e06e-784d-47e5-aa4c-d747181dd1be -f /home/runner/work/_temp/ea3453e0-77c2-40f7-876d-864827a88c37
  112. Successfully extracted go to /home/runner/work/_temp/6859e06e-784d-47e5-aa4c-d747181dd1be
  113. Adding to the cache ...
  114. Successfully cached go to /opt/hostedtoolcache/go/1.27.1/x64
  115. Added go to the path
  116. Successfully set up Go version 1.27.1
  117. [command]/opt/hostedtoolcache/go/1.27.1/x64/bin/go env GOMODCACHE
  118. [command]/opt/hostedtoolcache/go/1.27.1/x64/bin/go env GOCACHE
  119. /home/runner/go/pkg/mod
  120. /home/runner/.cache/go-build
  121. Cache is not found
  122. go version go1.27.1 linux/amd64
  123. go env
  124. AR='ar'
  125. CC='gcc'
  126. CGO_CFLAGS='-O2 -g'
  127. CGO_CPPFLAGS=''
  128. CGO_CXXFLAGS='-O2 -g'
  129. CGO_ENABLED='1'
  130. CGO_FFLAGS='-O2 -g'
  131. CGO_LDFLAGS='-O2 -g'
  132. CXX='g++'
  133. GCCGO='gccgo'
  134. GO111MODULE=''
  135. GOAMD64='v1'
  136. GOARCH='amd64'
  137. GOAUTH='netrc'
  138. GOBIN='/home/runner/go/bin'
  139. GOCACHE='/home/runner/.cache/go-build'
  140. GOCACHEPROG=''
  141. GODEBUG=''
  142. GOENV='/home/runner/.config/go/env'
  143. GOEXE=''
  144. GOEXPERIMENT=''
  145. GOFIPS140='off'
  146. GOFLAGS=''
  147. GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3477903036=/tmp/go-build -gno-record-gcc-switches'
  148. GOHOSTARCH='amd64'
  149. GOHOSTOS='linux'
  150. GOINSECURE=''
  151. GOMOD='/home/runner/work/ermite/ermite/go.mod'
  152. GOMODCACHE='/home/runner/go/pkg/mod'
  153. GONOPROXY=''
  154. GONOSUMDB=''
  155. GOOS='linux'
  156. GOPACKAGESDRIVER=''
  157. GOPATH='/home/runner/go'
  158. GOPRIVATE=''
  159. GOPROXY='https://proxy.golang.org,direct'
  160. GOROOT='/opt/hostedtoolcache/go/1.27.1/x64'
  161. GOSUMDB='sum.golang.org'
  162. GOTELEMETRY='local'
  163. GOTELEMETRYDIR='/home/runner/.config/go/telemetry'
  164. GOTMPDIR=''
  165. GOTOOLCHAIN='local'
  166. GOTOOLDIR='/opt/hostedtoolcache/go/1.27.1/x64/pkg/tool/linux_amd64'
  167. GOVCS=''
  168. GOVERSION='go1.27.1'
  169. GOWORK='off'
  170. PKG_CONFIG='pkg-config'
  171. Run golangci/golangci-lint-action@v9
  172. with:
  173. version: v2.14.0
  174. install-mode: binary
  175. install-only: false
  176. github-token: ***
  177. verify: true
  178. only-new-issues: false
  179. skip-cache: false
  180. skip-save-cache: false
  181. cache-invalidation-interval: 7
  182. problem-matchers: false
  183. env:
  184. GOWORK: off
  185. GOTOOLCHAIN: local
  186. Restore cache
  187. Checking for go.mod: go.mod
  188. Cache Size: ~4 MB (4687595 B)
  189. [command]/usr/bin/tar -xf /home/runner/work/_temp/72afcfc4-d77b-4667-b5e6-23058994cc13/cache.tgz -P -C /home/runner/work/ermite/ermite -z
  190. Cache restored successfully
  191. Restored cache for golangci-lint from key 'golangci-lint.cache-Linux-2963-65fdc5633f77f35f5fa173e8fafc4e9b0f663b8d' in 1427ms
  192. Install
  193. Finding needed golangci-lint version...
  194. Installation mode: binary
  195. Installing golangci-lint binary v2.14.0...
  196. Downloading binary https://github.com/golangci/golangci-lint/releases/download/v2.14.0/golangci-lint-2.14.0-linux-amd64.tar.gz ...
  197. [command]/usr/bin/tar xz --overwrite --warning=no-unknown-keyword --overwrite -C /home/runner -f /home/runner/work/_temp/dccd8ffd-5472-4dcc-9a12-52bd28673b31
  198. Installed golangci-lint into /home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint in 684ms
  199. run golangci-lint
  200. Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint config path] in [/home/runner/work/ermite/ermite] ...
  201. Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint config verify] in [/home/runner/work/ermite/ermite] ...
  202. Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint run] in [/home/runner/work/ermite/ermite] ...
  203. internal/adapters/client/client.go:14:2: could not import bnema.dev/ermite-api/gen/ermite/ermiteconnect (internal/adapters/client/client.go:14:2: bnema.dev/ermite-api@v0.14.0: replacement directory ../../../ermite-api/.worktrees/mr-ready-merge-checks does not exist) (typecheck)
  204. "bnema.dev/ermite-api/gen/ermite/ermiteconnect"
  205. ^
  206. internal/adapters/client/scopes.go:12:2: could not import bnema.dev/ermite-api/gen/ermite (internal/app/cli_issue.go:18:2: bnema.dev/ermite-api@v0.14.0: replacement directory ../../../ermite-api/.worktrees/mr-ready-merge-checks does not exist) (typecheck)
  207. "bnema.dev/ermite-api/gen/ermite"
  208. ^
  209. 2 issues:
  210. * typecheck: 2
  211. issues found
  212. Ran golangci-lint in 47544ms
  213. Post job cleanup.
  214. [command]/usr/bin/tar --posix -cf cache.tgz --exclude cache.tgz -P -C /home/runner/work/ermite/ermite --files-from manifest.txt -z
  215. Cache Size: ~5 MB (5101713 B)
  216. Cache saved successfully
  217. Saved cache for golangci-lint from paths '/home/runner/.cache/golangci-lint' in 990ms
  218. Post job cleanup.
  219. [command]/usr/bin/git version
  220. git version 2.53.0
  221. Temporarily overriding HOME='/home/runner/work/_temp/6f318fc4-f9c0-4ee0-978c-b63ab840516e' before making global git config changes
  222. Adding repository directory to the temporary git global config as a safe directory
  223. [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ermite/ermite
  224. Removing SSH command configuration
  225. [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
  226. [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
  227. Removing HTTP extra header
  228. [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
  229. [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/ermite\:7341\/\.extraheader' && git config --local --unset-all 'http.http://ermite:7341/.extraheader' || :"
  230. Removing includeIf entries pointing to credentials config files
  231. [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
  232. includeif.gitdir:/home/runner/work/ermite/ermite/.git.path
  233. includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path
  234. includeif.gitdir:/github/workspace/.git.path
  235. includeif.gitdir:/github/workspace/.git/worktrees/*.path
  236. [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/ermite/ermite/.git.path
  237. /home/runner/work/_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  238. [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite/ermite/.git.path /home/runner/work/_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  239. [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path
  240. /home/runner/work/_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  241. [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  242. [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git.path
  243. /github/runner_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  244. [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  245. [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git/worktrees/*.path
  246. /github/runner_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  247. [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config
  248. [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
  249. Removing credentials config '/home/runner/work/_temp/git-credentials-f53d68ff-1b57-46d1-b774-eff85a4e901b.config'
  250. Cleaning up orphan processes

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 2

Tags 42

↑↓ moveenter openesc close