main e86dbd6

Lint failure 1m 19s

Annotations 4

  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/d486afa7-a017-4ca2-895d-16c41d0b8c6b' 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-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.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-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  74. [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  75. [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  76. [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  77. Fetching the repository
  78. [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +59d5a0b4caab441cace9f897b4b6106590406027:refs/remotes/pull/23/merge
  79. From http://ermite:7341/bnema/ermite
  80. * [new ref] 59d5a0b4caab441cace9f897b4b6106590406027 -> 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 59d5a0b Merge 923f86819f210f263ade3f3f7339014c91e37a2b into d5e05051ad53ec339fe415696d1b993cbc0c7948
  97. [command]/usr/bin/git log -1 --format=%H
  98. 59d5a0b4caab441cace9f897b4b6106590406027
  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/7209fb07-0527-4b79-8551-e81019ba2f0c -f /home/runner/work/_temp/070b26b9-5b70-46c8-8e38-4366d2862c93
  112. Successfully extracted go to /home/runner/work/_temp/7209fb07-0527-4b79-8551-e81019ba2f0c
  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-build1749971379=/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: ~5 MB (5101713 B)
  189. [command]/usr/bin/tar -xf /home/runner/work/_temp/8aadf47b-977a-4ee2-98a7-638751eac2f8/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-b81ac30eaa26c0ef28758c926383069d3c536994' in 1585ms
  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/a385fbed-ea7c-409a-8b9c-50b9bf3b1a6b
  198. Installed golangci-lint into /home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint in 525ms
  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/rpc/mergerequest_test.go:231:6: TestMergeRequestServiceMarkReady's subtests should call t.Parallel (tparallel)
  204. func TestMergeRequestServiceMarkReady(t *testing.T) {
  205. ^
  206. internal/adapters/web/mr_test.go:301:6: TestMergeIgnoreChecks's subtests should call t.Parallel (tparallel)
  207. func TestMergeIgnoreChecks(t *testing.T) {
  208. ^
  209. internal/adapters/web/summary_actions_test.go:130:6: TestMRChecksLiveMergeControls's subtests should call t.Parallel (tparallel)
  210. func TestMRChecksLiveMergeControls(t *testing.T) {
  211. ^
  212. 3 issues:
  213. * tparallel: 3
  214. issues found
  215. Ran golangci-lint in 61234ms
  216. Post job cleanup.
  217. [command]/usr/bin/tar --posix -cf cache.tgz --exclude cache.tgz -P -C /home/runner/work/ermite/ermite --files-from manifest.txt -z
  218. Cache Size: ~5 MB (5625677 B)
  219. Cache saved successfully
  220. Saved cache for golangci-lint from paths '/home/runner/.cache/golangci-lint' in 1069ms
  221. Post job cleanup.
  222. [command]/usr/bin/git version
  223. git version 2.53.0
  224. Temporarily overriding HOME='/home/runner/work/_temp/0417126e-258f-45b5-9344-3a9a15dfcc18' before making global git config changes
  225. Adding repository directory to the temporary git global config as a safe directory
  226. [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ermite/ermite
  227. Removing SSH command configuration
  228. [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
  229. [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' || :"
  230. Removing HTTP extra header
  231. [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
  232. [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' || :"
  233. Removing includeIf entries pointing to credentials config files
  234. [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
  235. includeif.gitdir:/home/runner/work/ermite/ermite/.git.path
  236. includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path
  237. includeif.gitdir:/github/workspace/.git.path
  238. includeif.gitdir:/github/workspace/.git/worktrees/*.path
  239. [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/ermite/ermite/.git.path
  240. /home/runner/work/_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  241. [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite/ermite/.git.path /home/runner/work/_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  242. [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path
  243. /home/runner/work/_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  244. [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  245. [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git.path
  246. /github/runner_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  247. [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  248. [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git/worktrees/*.path
  249. /github/runner_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  250. [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config
  251. [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
  252. Removing credentials config '/home/runner/work/_temp/git-credentials-f7961a01-bf9c-48b0-bf2b-e5eb5016c9cf.config'
  253. 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