Lint success 1m 52s
- Current runner version: 'v0.5.1'
- GITHUB_TOKEN Permissions
- Contents: read
- Metadata: read
- Packages: read
- Secret source: Actions
- Cache mode: write
- Prepare workflow directory
- Prepare all required actions
- Getting action download info
- Download action repository 'actions/checkout@v6' (SHA:d23441a48e516b6c34aea4fa41551a30e30af803)
- Download action repository 'actions/setup-go@v7' (SHA:b7ad1dad31e06c5925ef5d2fc7ad053ef454303e)
- Download action repository 'golangci/golangci-lint-action@v9' (SHA:ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a)
- Complete job name: Lint
- Run actions/checkout@v6
- with:
- repository: bnema/ermite
- token: ***
- ssh-strict: true
- ssh-user: git
- persist-credentials: true
- clean: true
- sparse-checkout-cone-mode: true
- fetch-depth: 1
- fetch-tags: false
- show-progress: true
- lfs: false
- submodules: false
- set-safe-directory: true
- allow-unsafe-pr-checkout: false
- env:
- GOWORK: off
- Syncing repository: bnema/ermite
- Getting Git version info
- Working directory is '/home/runner/work/ermite/ermite'
- [command]/usr/bin/git version
- git version 2.53.0
- Temporarily overriding HOME='/home/runner/work/_temp/18697221-13bb-4b10-9f62-fd30eaa649a6' before making global git config changes
- Adding repository directory to the temporary git global config as a safe directory
- [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ermite/ermite
- Deleting the contents of '/home/runner/work/ermite/ermite'
- Determining repository object format
- Initializing the repository
- [command]/usr/bin/git init /home/runner/work/ermite/ermite
- hint: Using 'master' as the name for the initial branch. This default branch name
- hint: will change to "main" in Git 3.0. To configure the initial branch name
- hint: to use in all of your new repositories, which will suppress this warning,
- hint: call:
- hint:
- hint: git config --global init.defaultBranch <name>
- hint:
- hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
- hint: 'development'. The just-created branch can be renamed via this command:
- hint:
- hint: git branch -m <name>
- hint:
- hint: Disable this message with "git config set advice.defaultBranchName false"
- Initialized empty Git repository in /home/runner/work/ermite/ermite/.git/
- [command]/usr/bin/git remote add origin http://ermite:7341/bnema/ermite
- Disabling automatic garbage collection
- [command]/usr/bin/git config --local gc.auto 0
- Setting up auth
- Removing SSH command configuration
- [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
- [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' || :"
- Removing HTTP extra header
- [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
- [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' || :"
- Removing includeIf entries pointing to credentials config files
- [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
- [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
- [command]/usr/bin/git config --file /home/runner/work/_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config http.http://ermite:7341/.extraheader AUTHORIZATION: basic ***
- [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/ermite/ermite/.git.path /home/runner/work/_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- Fetching the repository
- [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +5dbd27fc45163a9fccc5f6cf45c55ed6935ad7d3:refs/remotes/origin/main
- From http://ermite:7341/bnema/ermite
- * [new ref] 5dbd27fc45163a9fccc5f6cf45c55ed6935ad7d3 -> origin/main
- [command]/usr/bin/git branch --list --remote origin/main
- origin/main
- [command]/usr/bin/git rev-parse refs/remotes/origin/main
- 5dbd27fc45163a9fccc5f6cf45c55ed6935ad7d3
- Determining the checkout info
- [command]/usr/bin/git sparse-checkout disable
- [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
- Checking out the ref
- [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
- Switched to a new branch 'main'
- branch 'main' set up to track 'origin/main'.
- [command]/usr/bin/git log -1 --format=%H
- 5dbd27fc45163a9fccc5f6cf45c55ed6935ad7d3
- Run actions/setup-go@v7
- with:
- go-version-file: go.mod
- cache: true
- check-latest: false
- env:
- GOWORK: off
- Setup go version spec 1.27.1
- Attempting to download 1.27.1...
- matching 1.27.1...
- 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
- Extracting Go...
- [command]/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/cbc71c3e-aaf9-47ac-a794-95682dbf335a -f /home/runner/work/_temp/7bc9d87c-7feb-485c-8c9b-628a21afe2a8
- Successfully extracted go to /home/runner/work/_temp/cbc71c3e-aaf9-47ac-a794-95682dbf335a
- Adding to the cache ...
- Successfully cached go to /opt/hostedtoolcache/go/1.27.1/x64
- Added go to the path
- Successfully set up Go version 1.27.1
- [command]/opt/hostedtoolcache/go/1.27.1/x64/bin/go env GOMODCACHE
- [command]/opt/hostedtoolcache/go/1.27.1/x64/bin/go env GOCACHE
- /home/runner/go/pkg/mod
- /home/runner/.cache/go-build
- Cache is not found
- go version go1.27.1 linux/amd64
- go env
- AR='ar'
- CC='gcc'
- CGO_CFLAGS='-O2 -g'
- CGO_CPPFLAGS=''
- CGO_CXXFLAGS='-O2 -g'
- CGO_ENABLED='1'
- CGO_FFLAGS='-O2 -g'
- CGO_LDFLAGS='-O2 -g'
- CXX='g++'
- GCCGO='gccgo'
- GO111MODULE=''
- GOAMD64='v1'
- GOARCH='amd64'
- GOAUTH='netrc'
- GOBIN='/home/runner/go/bin'
- GOCACHE='/home/runner/.cache/go-build'
- GOCACHEPROG=''
- GODEBUG=''
- GOENV='/home/runner/.config/go/env'
- GOEXE=''
- GOEXPERIMENT=''
- GOFIPS140='off'
- GOFLAGS=''
- GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2679503726=/tmp/go-build -gno-record-gcc-switches'
- GOHOSTARCH='amd64'
- GOHOSTOS='linux'
- GOINSECURE=''
- GOMOD='/home/runner/work/ermite/ermite/go.mod'
- GOMODCACHE='/home/runner/go/pkg/mod'
- GONOPROXY=''
- GONOSUMDB=''
- GOOS='linux'
- GOPACKAGESDRIVER=''
- GOPATH='/home/runner/go'
- GOPRIVATE=''
- GOPROXY='https://proxy.golang.org,direct'
- GOROOT='/opt/hostedtoolcache/go/1.27.1/x64'
- GOSUMDB='sum.golang.org'
- GOTELEMETRY='local'
- GOTELEMETRYDIR='/home/runner/.config/go/telemetry'
- GOTMPDIR=''
- GOTOOLCHAIN='local'
- GOTOOLDIR='/opt/hostedtoolcache/go/1.27.1/x64/pkg/tool/linux_amd64'
- GOVCS=''
- GOVERSION='go1.27.1'
- GOWORK='off'
- PKG_CONFIG='pkg-config'
- Run golangci/golangci-lint-action@v9
- with:
- version: v2.14.0
- install-mode: binary
- install-only: false
- github-token: ***
- verify: true
- only-new-issues: false
- skip-cache: false
- skip-save-cache: false
- cache-invalidation-interval: 7
- problem-matchers: false
- env:
- GOWORK: off
- GOTOOLCHAIN: local
- Restore cache
- Checking for go.mod: go.mod
- Cache Size: ~5 MB (5215174 B)
- [command]/usr/bin/tar -xf /home/runner/work/_temp/c6d4aa1b-68c2-48d5-95f6-7f89c49f0e5a/cache.tgz -P -C /home/runner/work/ermite/ermite -z
- Cache restored successfully
- Restored cache for golangci-lint from key 'golangci-lint.cache-Linux-2963-de5d483f7308b615097bba2af98208fcba532e2a' in 1947ms
- Install
- Finding needed golangci-lint version...
- Installation mode: binary
- Installing golangci-lint binary v2.14.0...
- Downloading binary https://github.com/golangci/golangci-lint/releases/download/v2.14.0/golangci-lint-2.14.0-linux-amd64.tar.gz ...
- [command]/usr/bin/tar xz --overwrite --warning=no-unknown-keyword --overwrite -C /home/runner -f /home/runner/work/_temp/4273ba19-00cb-4a4f-af94-6eac4d13a0af
- Installed golangci-lint into /home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint in 702ms
- run golangci-lint
- Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint config path] in [/home/runner/work/ermite/ermite] ...
- Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint config verify] in [/home/runner/work/ermite/ermite] ...
- Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint run] in [/home/runner/work/ermite/ermite] ...
- 0 issues.
- golangci-lint found no issues
- Ran golangci-lint in 68145ms
- Post job cleanup.
- [command]/usr/bin/tar --posix -cf cache.tgz --exclude cache.tgz -P -C /home/runner/work/ermite/ermite --files-from manifest.txt -z
- Cache Size: ~6 MB (5839381 B)
- Cache saved successfully
- Saved cache for golangci-lint from paths '/home/runner/.cache/golangci-lint' in 1096ms
- Post job cleanup.
- [command]/opt/hostedtoolcache/go/1.27.1/x64/bin/go env GOMODCACHE
- [command]/opt/hostedtoolcache/go/1.27.1/x64/bin/go env GOCACHE
- /home/runner/go/pkg/mod
- /home/runner/.cache/go-build
- [command]/usr/bin/tar --posix -cf cache.tgz --exclude cache.tgz -P -C /home/runner/work/ermite/ermite --files-from manifest.txt -z
- Cache Size: ~257 MB (269132824 B)
- Cache saved successfully
- Cache saved with the key: setup-go-Linux-x64-undefined-go-1.27.1-544807f7c60cf745d73cc19333eec1cffca1e6fa7f7554a9a7b101df2750ea09
- Post job cleanup.
- [command]/usr/bin/git version
- git version 2.53.0
- Temporarily overriding HOME='/home/runner/work/_temp/6418d7ee-998a-4366-88c8-3af49c95ba83' before making global git config changes
- Adding repository directory to the temporary git global config as a safe directory
- [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ermite/ermite
- Removing SSH command configuration
- [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
- [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' || :"
- Removing HTTP extra header
- [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
- [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' || :"
- Removing includeIf entries pointing to credentials config files
- [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
- includeif.gitdir:/home/runner/work/ermite/ermite/.git.path
- includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path
- includeif.gitdir:/github/workspace/.git.path
- includeif.gitdir:/github/workspace/.git/worktrees/*.path
- [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/ermite/ermite/.git.path
- /home/runner/work/_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite/ermite/.git.path /home/runner/work/_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path
- /home/runner/work/_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite/ermite/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git.path
- /github/runner_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git/worktrees/*.path
- /github/runner_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config
- [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
- Removing credentials config '/home/runner/work/_temp/git-credentials-f052ab33-6312-44f0-9e48-fe131359cfa4.config'
- Cleaning up orphan processes