main 1fb2421

Lint failure 45s

Annotations 3

  1. Current runner version: 'v0.6.0'
  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/372f8549-cc86-49d2-8a08-fa1aa63d1b6d' 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-f237bfe7-ed76-436d-bbf8-7ef8af060343.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-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  74. [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  75. [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  76. [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  77. Fetching the repository
  78. [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +fd05d467c2a168f5b17687b52c638cf4efb74e89:refs/remotes/pull/37/merge
  79. From http://ermite:7341/bnema/ermite
  80. * [new ref] fd05d467c2a168f5b17687b52c638cf4efb74e89 -> pull/37/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/37/merge
  86. Note: switching to 'refs/remotes/pull/37/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 fd05d46 Merge 8020e7bf70e68858d12c09ecb0e2320bdfa6b706 into 80d5067c3c87121b6ade166b4a1f1ae1046df043
  97. [command]/usr/bin/git log -1 --format=%H
  98. fd05d467c2a168f5b17687b52c638cf4efb74e89
  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
  107. Found in cache @ /opt/hostedtoolcache/go/1.27.3/x64
  108. Added go to the path
  109. Successfully set up Go version 1.27
  110. [command]/opt/hostedtoolcache/go/1.27.3/x64/bin/go env GOMODCACHE
  111. [command]/opt/hostedtoolcache/go/1.27.3/x64/bin/go env GOCACHE
  112. /home/runner/go/pkg/mod
  113. /home/runner/.cache/go-build
  114. Cache Size: ~257 MB (269351041 B)
  115. [command]/usr/bin/tar -xf /home/runner/work/_temp/4101f316-f60e-4758-a65d-07a31f7b89e5/cache.tgz -P -C /home/runner/work/ermite/ermite -z
  116. Cache restored successfully
  117. Cache restored from key: setup-go-Linux-x64-undefined-go-1.27.3-0e77678b13883f19db0469401fcaa9bb64e07bcbd8d593228fa6e7ebdef5d13b
  118. go version go1.27.3 linux/amd64
  119. go env
  120. AR='ar'
  121. CC='gcc'
  122. CGO_CFLAGS='-O2 -g'
  123. CGO_CPPFLAGS=''
  124. CGO_CXXFLAGS='-O2 -g'
  125. CGO_ENABLED='1'
  126. CGO_FFLAGS='-O2 -g'
  127. CGO_LDFLAGS='-O2 -g'
  128. CXX='g++'
  129. GCCGO='gccgo'
  130. GO111MODULE=''
  131. GOAMD64='v1'
  132. GOARCH='amd64'
  133. GOAUTH='netrc'
  134. GOBIN='/home/runner/go/bin'
  135. GOCACHE='/home/runner/.cache/go-build'
  136. GOCACHEPROG=''
  137. GODEBUG=''
  138. GOENV='/home/runner/.config/go/env'
  139. GOEXE=''
  140. GOEXPERIMENT=''
  141. GOFIPS140='off'
  142. GOFLAGS=''
  143. GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3438382390=/tmp/go-build -gno-record-gcc-switches'
  144. GOHOSTARCH='amd64'
  145. GOHOSTOS='linux'
  146. GOINSECURE=''
  147. GOMOD='/home/runner/work/ermite/ermite/go.mod'
  148. GOMODCACHE='/home/runner/go/pkg/mod'
  149. GONOPROXY=''
  150. GONOSUMDB=''
  151. GOOS='linux'
  152. GOPACKAGESDRIVER=''
  153. GOPATH='/home/runner/go'
  154. GOPRIVATE=''
  155. GOPROXY='https://proxy.golang.org,direct'
  156. GOROOT='/opt/hostedtoolcache/go/1.27.3/x64'
  157. GOSUMDB='sum.golang.org'
  158. GOTELEMETRY='local'
  159. GOTELEMETRYDIR='/home/runner/.config/go/telemetry'
  160. GOTMPDIR=''
  161. GOTOOLCHAIN='local'
  162. GOTOOLDIR='/opt/hostedtoolcache/go/1.27.3/x64/pkg/tool/linux_amd64'
  163. GOVCS=''
  164. GOVERSION='go1.27.3'
  165. GOWORK='off'
  166. PKG_CONFIG='pkg-config'
  167. Run golangci/golangci-lint-action@v9
  168. with:
  169. version: v2.14.0
  170. install-mode: binary
  171. install-only: false
  172. github-token: ***
  173. verify: true
  174. only-new-issues: false
  175. skip-cache: false
  176. skip-save-cache: false
  177. cache-invalidation-interval: 7
  178. problem-matchers: false
  179. env:
  180. GOWORK: off
  181. GOTOOLCHAIN: local
  182. Restore cache
  183. Checking for go.mod: go.mod
  184. Cache Size: ~1 MB (1309891 B)
  185. [command]/usr/bin/tar -xf /home/runner/work/_temp/94d6f228-57af-4bdc-b182-2841a6e62cb9/cache.tgz -P -C /home/runner/work/ermite/ermite -z
  186. Cache restored successfully
  187. Restored cache for golangci-lint from key 'golangci-lint.cache-Linux-2964-f51c9ff70cc3a8d4bfdc1faf3ba0f77a338e1c26' in 386ms
  188. Install
  189. Finding needed golangci-lint version...
  190. Installation mode: binary
  191. Installing golangci-lint binary v2.14.0...
  192. Downloading binary https://github.com/golangci/golangci-lint/releases/download/v2.14.0/golangci-lint-2.14.0-linux-amd64.tar.gz ...
  193. [command]/usr/bin/tar xz --overwrite --warning=no-unknown-keyword --overwrite -C /home/runner -f /home/runner/work/_temp/b9ab37dd-6344-4bbd-b43d-1d5c70ccfa36
  194. Installed golangci-lint into /home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint in 540ms
  195. run golangci-lint
  196. Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint config path] in [/home/runner/work/ermite/ermite] ...
  197. Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint config verify] in [/home/runner/work/ermite/ermite] ...
  198. Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint run] in [/home/runner/work/ermite/ermite] ...
  199. internal/mediapolicy/hosts.go:31:8: QF1001: could apply De Morgan's law (staticcheck)
  200. if !(c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '-') {
  201. ^
  202. internal/mediapolicy/hosts.go:55:37: QF1001: could apply De Morgan's law (staticcheck)
  203. if port := u.Port(); port != "" && !(u.Scheme == "https" && port == "443" || u.Scheme == "http" && port == "80") {
  204. ^
  205. 2 issues:
  206. * staticcheck: 2
  207. issues found
  208. Ran golangci-lint in 26502ms
  209. Post job cleanup.
  210. Cache hit occurred on the primary key golangci-lint.cache-Linux-2964-f51c9ff70cc3a8d4bfdc1faf3ba0f77a338e1c26, not saving cache.
  211. Post job cleanup.
  212. [command]/usr/bin/git version
  213. git version 2.53.0
  214. Temporarily overriding HOME='/home/runner/work/_temp/00a29efc-a38a-490d-8bc5-9c394fa948ef' before making global git config changes
  215. Adding repository directory to the temporary git global config as a safe directory
  216. [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ermite/ermite
  217. Removing SSH command configuration
  218. [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
  219. [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' || :"
  220. Removing HTTP extra header
  221. [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
  222. [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' || :"
  223. Removing includeIf entries pointing to credentials config files
  224. [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
  225. includeif.gitdir:/home/runner/work/ermite/ermite/.git.path
  226. includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path
  227. includeif.gitdir:/github/workspace/.git.path
  228. includeif.gitdir:/github/workspace/.git/worktrees/*.path
  229. [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/ermite/ermite/.git.path
  230. /home/runner/work/_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  231. [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite/ermite/.git.path /home/runner/work/_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  232. [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path
  233. /home/runner/work/_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  234. [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  235. [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git.path
  236. /github/runner_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  237. [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  238. [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git/worktrees/*.path
  239. /github/runner_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  240. [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config
  241. [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
  242. Removing credentials config '/home/runner/work/_temp/git-credentials-f237bfe7-ed76-436d-bbf8-7ef8af060343.config'
  243. 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 45

↑↓ moveenter openesc close