Go success 13s
- Current runner version: 'v0.6.0'
- 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)
- Complete job name: Go
- Run actions/checkout@v6
- with:
- repository: bnema/ermite-api
- 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-api
- Getting Git version info
- Working directory is '/home/runner/work/ermite-api/ermite-api'
- [command]/usr/bin/git version
- git version 2.53.0
- Temporarily overriding HOME='/home/runner/work/_temp/62d3c8f8-808f-4ab7-9151-3caff681b1a7' 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-api/ermite-api
- Deleting the contents of '/home/runner/work/ermite-api/ermite-api'
- Determining repository object format
- Initializing the repository
- [command]/usr/bin/git init /home/runner/work/ermite-api/ermite-api
- 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-api/ermite-api/.git/
- [command]/usr/bin/git remote add origin http://ermite:7341/bnema/ermite-api
- 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-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config http.http://ermite:7341/.extraheader AUTHORIZATION: basic ***
- [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/ermite-api/ermite-api/.git.path /home/runner/work/_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/ermite-api/ermite-api/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- Fetching the repository
- [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +b394bb84e4b109668771066a112438ab8df26154:refs/remotes/pull/12/merge
- From http://ermite:7341/bnema/ermite-api
- * [new ref] b394bb84e4b109668771066a112438ab8df26154 -> pull/12/merge
- 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 refs/remotes/pull/12/merge
- Note: switching to 'refs/remotes/pull/12/merge'.
- You are in 'detached HEAD' state. You can look around, make experimental
- changes and commit them, and you can discard any commits you make in this
- state without impacting any branches by switching back to a branch.
- If you want to create a new branch to retain commits you create, you may
- do so (now or later) by using -c with the switch command. Example:
- git switch -c <new-branch-name>
- Or undo this operation with:
- git switch -
- Turn off this advice by setting config variable advice.detachedHead to false
- HEAD is now at b394bb8 Merge 81ede3b81040f2594180d0ca4f180a63b2cea9fd into ffa9a5ed3b92f780404c89cbe9288e74108a1ed0
- [command]/usr/bin/git log -1 --format=%H
- b394bb84e4b109668771066a112438ab8df26154
- 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
- Found in cache @ /opt/hostedtoolcache/go/1.27.3/x64
- Added go to the path
- Successfully set up Go version 1.27
- [command]/opt/hostedtoolcache/go/1.27.3/x64/bin/go env GOMODCACHE
- [command]/opt/hostedtoolcache/go/1.27.3/x64/bin/go env GOCACHE
- /home/runner/go/pkg/mod
- /home/runner/.cache/go-build
- Cache Size: ~41 MB (43354125 B)
- [command]/usr/bin/tar -xf /home/runner/work/_temp/115feb2f-e07a-4052-804d-ff9e348847fe/cache.tgz -P -C /home/runner/work/ermite-api/ermite-api -z
- Cache restored successfully
- Cache restored from key: setup-go-Linux-x64-undefined-go-1.27.3-7d811b751d913b020b83404b0f7213837e6dab7b403588927f602b8492682c78
- go version go1.27.3 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-build1091882814=/tmp/go-build -gno-record-gcc-switches'
- GOHOSTARCH='amd64'
- GOHOSTOS='linux'
- GOINSECURE=''
- GOMOD='/home/runner/work/ermite-api/ermite-api/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.3/x64'
- GOSUMDB='sum.golang.org'
- GOTELEMETRY='local'
- GOTELEMETRYDIR='/home/runner/.config/go/telemetry'
- GOTMPDIR=''
- GOTOOLCHAIN='local'
- GOTOOLDIR='/opt/hostedtoolcache/go/1.27.3/x64/pkg/tool/linux_amd64'
- GOVCS=''
- GOVERSION='go1.27.3'
- GOWORK='off'
- PKG_CONFIG='pkg-config'
- Run go mod tidy
- <U+001B>[36;1mgo mod tidy<U+001B>[0m
- <U+001B>[36;1mgit diff --exit-code -- go.mod go.sum<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOWORK: off
- GOTOOLCHAIN: local
- go: downloading github.com/google/go-cmp v0.7.0
- Run go vet ./...
- <U+001B>[36;1mgo vet ./...<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOWORK: off
- GOTOOLCHAIN: local
- Run go build ./...
- <U+001B>[36;1mgo build ./...<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOWORK: off
- GOTOOLCHAIN: local
- Post job cleanup.
- [command]/opt/hostedtoolcache/go/1.27.3/x64/bin/go env GOMODCACHE
- [command]/opt/hostedtoolcache/go/1.27.3/x64/bin/go env GOCACHE
- /home/runner/go/pkg/mod
- /home/runner/.cache/go-build
- Cache hit occurred on the primary key setup-go-Linux-x64-undefined-go-1.27.3-7d811b751d913b020b83404b0f7213837e6dab7b403588927f602b8492682c78, not saving cache.
- Post job cleanup.
- [command]/usr/bin/git version
- git version 2.53.0
- Temporarily overriding HOME='/home/runner/work/_temp/15714836-b6d9-454f-afee-a16032d2bad4' 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-api/ermite-api
- 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-api/ermite-api/.git.path
- includeif.gitdir:/home/runner/work/ermite-api/ermite-api/.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-api/ermite-api/.git.path
- /home/runner/work/_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite-api/ermite-api/.git.path /home/runner/work/_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/ermite-api/ermite-api/.git/worktrees/*.path
- /home/runner/work/_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/ermite-api/ermite-api/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git.path
- /github/runner_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/.git/worktrees/*.path
- /github/runner_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config
- [command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-1c40a7e5-130d-447f-abdd-05dabbcef8c3.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-1c40a7e5-130d-447f-abdd-05dabbcef8c3.config'
- Cleaning up orphan processes