test (ubuntu-latest) success 57s
Annotations 1
warning
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
- 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@v4' (SHA:11d5960a326750d5838078e36cf38b85af677262)
- Download action repository 'actions/setup-go@v7' (SHA:b7ad1dad31e06c5925ef5d2fc7ad053ef454303e)
- Download action repository 'golangci/golangci-lint-action@v9.3.0' (SHA:ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a)
- Complete job name: test (ubuntu-latest)
- Run actions/checkout@v4
- with:
- repository: bnema/zut
- 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
- Syncing repository: bnema/zut
- Getting Git version info
- Working directory is '/home/runner/work/zut/zut'
- [command]/usr/bin/git version
- git version 2.53.0
- Temporarily overriding HOME='/home/runner/work/_temp/c0205723-410a-40a4-bf66-d7158df9d1a8' 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/zut/zut
- Deleting the contents of '/home/runner/work/zut/zut'
- Initializing the repository
- [command]/usr/bin/git init /home/runner/work/zut/zut
- 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/zut/zut/.git/
- [command]/usr/bin/git remote add origin http://ermite:7341/bnema/zut
- Disabling automatic garbage collection
- [command]/usr/bin/git config --local gc.auto 0
- Setting up auth
- [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' || :"
- [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' || :"
- [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 --local http.http://ermite:7341/.extraheader AUTHORIZATION: basic ***
- Fetching the repository
- [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +4509ec7f010bcee68855bf97f60a183467851813:refs/remotes/origin/main
- From http://ermite:7341/bnema/zut
- * [new ref] 4509ec7f010bcee68855bf97f60a183467851813 -> origin/main
- 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
- 4509ec7f010bcee68855bf97f60a183467851813
- Run actions/setup-go@v7
- with:
- go-version-file: go.mod
- cache: true
- check-latest: false
- 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: ~247 MB (259016319 B)
- [command]/usr/bin/tar -xf /home/runner/work/_temp/de246016-aff7-4b37-bad5-ca67d7651e47/cache.tgz -P -C /home/runner/work/zut/zut -z
- Cache restored successfully
- Cache restored from key: setup-go-Linux-x64-undefined-go-1.27.3-84b95060d04d75cff5aaad9c2d0954de5dfbb44ba71dc3bee2ca9a989df1c26f
- 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-build795760796=/tmp/go-build -gno-record-gcc-switches'
- GOHOSTARCH='amd64'
- GOHOSTOS='linux'
- GOINSECURE=''
- GOMOD='/home/runner/work/zut/zut/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=''
- PKG_CONFIG='pkg-config'
- Run go vet ./...
- <U+001B>[36;1mgo vet ./...<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOTOOLCHAIN: local
- Run diff=$(gofmt -l .)
- <U+001B>[36;1mdiff=$(gofmt -l .)<U+001B>[0m
- <U+001B>[36;1mif [ -n "$diff" ]; then<U+001B>[0m
- <U+001B>[36;1m echo "gofmt issues:"<U+001B>[0m
- <U+001B>[36;1m echo "$diff"<U+001B>[0m
- <U+001B>[36;1m exit 1<U+001B>[0m
- <U+001B>[36;1mfi<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOTOOLCHAIN: local
- Run go test -race ./...
- <U+001B>[36;1mgo test -race ./...<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOTOOLCHAIN: local
- ? github.com/bnema/zut [no test files]
- ok github.com/bnema/zut/cmd/zut (cached)
- ? github.com/bnema/zut/examples/extensions/approve [no test files]
- ? github.com/bnema/zut/examples/extensions/guard [no test files]
- ? github.com/bnema/zut/examples/extensions/hello [no test files]
- ? github.com/bnema/zut/examples/extensions/secret [no test files]
- ? github.com/bnema/zut/examples/extensions/weather [no test files]
- ? github.com/bnema/zut/examples/rpc/go [no test files]
- ? github.com/bnema/zut/examples/sdk [no test files]
- ok github.com/bnema/zut/packages/agent 9.888s
- ok github.com/bnema/zut/packages/agent/ext (cached)
- ok github.com/bnema/zut/packages/agent/extensions (cached)
- ok github.com/bnema/zut/packages/agent/extproto (cached)
- ok github.com/bnema/zut/packages/agent/internal/orchestration (cached)
- ok github.com/bnema/zut/packages/agent/lsp (cached)
- ok github.com/bnema/zut/packages/agent/mcp (cached)
- ok github.com/bnema/zut/packages/agent/modes (cached)
- ok github.com/bnema/zut/packages/agent/modes/bot (cached)
- ok github.com/bnema/zut/packages/agent/modes/telegram (cached)
- ok github.com/bnema/zut/packages/agent/scheduler (cached)
- ok github.com/bnema/zut/packages/agent/sdk (cached)
- ok github.com/bnema/zut/packages/agent/skills (cached)
- ok github.com/bnema/zut/packages/agent/subagents (cached)
- ok github.com/bnema/zut/packages/agent/tools (cached)
- ok github.com/bnema/zut/packages/core (cached)
- ok github.com/bnema/zut/packages/ignore (cached)
- ok github.com/bnema/zut/packages/provider 37.850s
- ok github.com/bnema/zut/packages/provider/auth (cached)
- ? github.com/bnema/zut/packages/provider/auth/assets [no test files]
- ok github.com/bnema/zut/packages/tui (cached)
- Run bash .github/scripts/next-release-tag_test.sh
- <U+001B>[36;1mbash .github/scripts/next-release-tag_test.sh<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOTOOLCHAIN: local
- Run golangci/golangci-lint-action@v9.3.0
- 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:
- GOTOOLCHAIN: local
- Restore cache
- Checking for go.mod: go.mod
- Cache Size: ~0 MB (377137 B)
- [command]/usr/bin/tar -xf /home/runner/work/_temp/2a65e190-79cb-4dbc-b987-033ae3910f98/cache.tgz -P -C /home/runner/work/zut/zut -z
- Cache restored successfully
- Restored cache for golangci-lint from key 'golangci-lint.cache-Linux-2964-48ec27001edbc0ccee594d064b7c5fdad8e68c13' in 140ms
- 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/97df9113-2fd9-4994-94bc-e74e022b6069
- Installed golangci-lint into /home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint in 534ms
- run golangci-lint
- Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint config path] in [/home/runner/work/zut/zut] ...
- Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint config verify] in [/home/runner/work/zut/zut] ...
- Running [/home/runner/golangci-lint-2.14.0-linux-amd64/golangci-lint run] in [/home/runner/work/zut/zut] ...
- 0 issues.
- golangci-lint found no issues
- Ran golangci-lint in 662ms
- Post job cleanup.
- Cache hit occurred on the primary key golangci-lint.cache-Linux-2964-48ec27001edbc0ccee594d064b7c5fdad8e68c13, not saving cache.
- 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-84b95060d04d75cff5aaad9c2d0954de5dfbb44ba71dc3bee2ca9a989df1c26f, not saving cache.
- Post job cleanup.
- [command]/usr/bin/git version
- git version 2.53.0
- Temporarily overriding HOME='/home/runner/work/_temp/bde924dc-4042-4abd-9c4e-2fc528283d9a' 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/zut/zut
- [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' || :"
- [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
- http.http://ermite:7341/.extraheader
- [command]/usr/bin/git config --local --unset-all 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' || :"
- [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
- Cleaning up orphan processes
- ##[warning]Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/