rickub/clipublic Fork
⑂ main
Commits
⬇ Clone ▾
git clone https://git.rickub.com/rickub/cli.git
git clone ssh://git@rickub.com/rickub/cli.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
success

Security #69

schedule · main · aa878595ran in 2m16s · 232 lines of output
queued <1s ran 2m16s total 2m16s
1 jobs
0 failed
2m16s duration
— tests
0 artifacts
vet / vuln / gosec / staticcheck / modules
successvet / vuln / gosec / staticcheck / modules 2m16s
successSet up job
cloning rickub/cli @ aa8785956e6339dbb23893ebaf869cc6ad5879f5action actions/setup-go@v5: node20 (_actions/actions/setup-go/v5)
successCheckout <1s
(checkout already performed by the runner — delivered as the read-only work disk)
successSet up Go 1m22s
ciguest: network up (172.30.0.2/30 via 172.30.0.1)ciguest: starting dockerd (overlay2, data-root on scratch)ciguest: dockerd is readyciguest: loaded baked image postgres_16-alpine.tar.gz: Loaded image: postgres:16-alpineciguest: 1 baked image archive(s) loaded (no per-job registry pull needed)ciguest: logged into registry registry.rickub.com as rickubSetup go version spec 1.26isExplicit: explicit? falseevaluating 0 versionsmatch not foundAttempting to download 1.26...No manifest cachedGetting manifest from actions/go-versions@main(node:548) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.(Use `node --trace-deprecation ...` to show where the warning was created)matching 1.26...check 1.27.3 satisfies 1.26check 1.27.2 satisfies 1.26check 1.27.1 satisfies 1.26check 1.27.0 satisfies 1.26check 1.26.10 satisfies 1.26arm64===x64 && darwin===linuxx64===x64 && darwin===linuxarm64===x64 && linux===linuxx64===x64 && linux===linuxmatched 1.26.10Acquiring 1.26.10 from https://github.com/actions/go-versions/releases/download/1.26.10-39437851726/go-1.26.10-linux-x64.tar.gzDownloading https://github.com/actions/go-versions/releases/download/1.26.10-39437851726/go-1.26.10-linux-x64.tar.gzDestination /tmp/10dbc2c9-0375-45b8-ba4b-2f2615756712Failed to download from "https://github.com/actions/go-versions/releases/download/1.26.10-39437851726/go-1.26.10-linux-x64.tar.gz". Code(504) Message(Gateway Time-out)Unexpected HTTP response: 504Waiting 19 seconds before trying againFailed to download from "https://github.com/actions/go-versions/releases/download/1.26.10-39437851726/go-1.26.10-linux-x64.tar.gz". Code(504) Message(Gateway Time-out)Unexpected HTTP response: 504Waiting 14 seconds before trying againFailed to download from "https://github.com/actions/go-versions/releases/download/1.26.10-39437851726/go-1.26.10-linux-x64.tar.gz". Code(504) Message(Gateway Time-out)Unexpected HTTP response: 504Error: Unexpected HTTP response: 504 at /workspace/_actions/actions/setup-go/v5/dist/setup/index.js:10576:25 at Generator.next (<anonymous>) at fulfilled (/workspace/_actions/actions/setup-go/v5/dist/setup/index.js:10486:58) at process.processTicksAndRejections (node:internal/process/task_queues:104:5)Falling back to download directly from Gocheck 1.27.3 satisfies 1.26check 1.27.2 satisfies 1.26check 1.27.1 satisfies 1.26check 1.27.0 satisfies 1.26check 1.27.0-rc.3 satisfies 1.26check 1.27.0-rc.2 satisfies 1.26check 1.27.0-rc.1 satisfies 1.26check 1.26.10 satisfies 1.26===amd64 && ===linuxppc64===amd64 && aix===linuxamd64===amd64 && darwin===linuxamd64===amd64 && darwin===linuxarm64===amd64 && darwin===linuxarm64===amd64 && darwin===linuxamd64===amd64 && dragonfly===linux386===amd64 && freebsd===linuxamd64===amd64 && freebsd===linuxarm===amd64 && freebsd===linuxarm64===amd64 && freebsd===linuxamd64===amd64 && illumos===linux386===amd64 && linux===linuxamd64===amd64 && linux===linuxmatched go1.26.10Install from distAcquiring go1.26.10 from https://go.dev/dl/go1.26.10.linux-amd64.tar.gzDownloading https://go.dev/dl/go1.26.10.linux-amd64.tar.gzDestination /tmp/7f4d44e7-a81b-4407-b69d-61983c0b37d5download completeExtracting Go...Checking tar --versiontar (GNU tar) 1.34Copyright (C) 2021 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.Written by John Gilmore and Jay Fenlason.[command]/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /tmp/17470b4a-fb7b-48e2-93c1-2ef2d0055231 -f /tmp/7f4d44e7-a81b-4407-b69d-61983c0b37d5Successfully extracted go to /tmp/17470b4a-fb7b-48e2-93c1-2ef2d0055231Adding to the cache ...Caching tool go 1.26.10 x64source dir: /tmp/17470b4a-fb7b-48e2-93c1-2ef2d0055231/godestination /tmp/hostedtoolcache/go/1.26.10/x64finished caching toolSuccessfully cached go to /tmp/hostedtoolcache/go/1.26.10/x64Added go to the pathSuccessfully set up Go version 1.26which go :/tmp/hostedtoolcache/go/1.26.10/x64/bin/go:go env GOPATH :/tmp/home/go:creating /tmp/home/gocreating /tmp/home/go/binadd bin true[command]/tmp/hostedtoolcache/go/1.26.10/x64/bin/go env GOMODCACHE[command]/tmp/hostedtoolcache/go/1.26.10/x64/bin/go env GOCACHE/tmp/home/go/pkg/mod/tmp/home/.cache/go-buildfollowSymbolicLinks 'true'followSymbolicLinks 'true'implicitDescendants 'true'matchDirectories 'true'omitBrokenSymbolicLinks 'true'excludeHiddenFiles 'false'Search path '/workspace/cli/go.sum'/workspace/cli/go.sumFound 1 files to hash.primary key is setup-go-Linux-x64-ubuntu22-go-1.26.10-e83b8c1f582e6d931577fc73618a9a9b192b6857b1971d1da5ce8a7a9b35f205Cache service version: v2Resolved Keys:["setup-go-Linux-x64-ubuntu22-go-1.26.10-e83b8c1f582e6d931577fc73618a9a9b192b6857b1971d1da5ce8a7a9b35f205"]Checking zstd --quiet --version1.5.4zstd version: 1.5.4[Request] GetCacheEntryDownloadURL http://172.30.255.1:8888/twirp/github.actions.results.api.v1.CacheService/GetCacheEntryDownloadURL[Response] - 200Headers: { "content-length": "1031", "content-security-policy": "default-src 'self'; img-src 'self' data:; style-src 'self'; script-src 'self'; base-uri 'none'; frame-ancestors 'none'; object-src 'none'; form-action 'self' https://payment.stancer.com", "content-type": "application/json", "date": "Mon, 09 Nov 2026 06:01:12 GMT", "permissions-policy": "accelerometer=(), autoplay=(), camera=(), display-capture=(), encrypted-media=(), fullscreen=(self), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), usb=()", "referrer-policy": "strict-origin-when-cross-origin", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", "x-request-id": "31e5898e-44f5-4d68-b79d-ea893b8c0b4a"}Body: { "matchedKey": "setup-go-Linux-x64-ubuntu22-go-1.26.10-e83b8c1f582e6d931577fc73618a9a9b192b6857b1971d1da5ce8a7a9b35f205", "matched_key": "setup-go-Linux-x64-ubuntu22-go-1.26.10-e83b8c1f582e6d931577fc73618a9a9b192b6857b1971d1da5ce8a7a9b35f205", "ok": true, "signedDownloadUrl": "http://172.30.255.1:8888/twirp/_blob/download/cache?sig=***", "signed_download_url": "http://172.30.255.1:8888/twirp/_blob/download/cache?sig=***"}Cache hit for: setup-go-Linux-x64-ubuntu22-go-1.26.10-e83b8c1f582e6d931577fc73618a9a9b192b6857b1971d1da5ce8a7a9b35f205Archive path: /tmp/34575cc1-15de-4e69-ab5f-10afb6ffcc69/cache.tzstStarting download of archive to: /tmp/34575cc1-15de-4e69-ab5f-10afb6ffcc69/cache.tzstUse Azure SDK: trueDownload concurrency: 8Request timeout (ms): 30000Cache segment download timeout mins env var: undefinedSegment download timeout (ms): 600000Lookup only: falseCache Size: ~314 MB (329105171 B)[command]/usr/bin/tar -xf /tmp/34575cc1-15de-4e69-ab5f-10afb6ffcc69/cache.tzst -P -C /workspace/cli --use-compress-program unzstdCache restored successfullyCache restored from key: setup-go-Linux-x64-ubuntu22-go-1.26.10-e83b8c1f582e6d931577fc73618a9a9b192b6857b1971d1da5ce8a7a9b35f205##[add-matcher]/workspace/_actions/actions/setup-go/v5/matchers.jsongo version go1.26.10 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=''GOCACHE='/tmp/home/.cache/go-build'GOCACHEPROG=''GODEBUG=''GOENV='/tmp/home/.config/go/env'GOEXE=''GOEXPERIMENT=''GOFIPS140='off'GOFLAGS=''GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build47061198=/tmp/go-build -gno-record-gcc-switches'GOHOSTARCH='amd64'GOHOSTOS='linux'GOINSECURE=''GOMOD='/workspace/cli/go.mod'GOMODCACHE='/tmp/home/go/pkg/mod'GONOPROXY=''GONOSUMDB=''GOOS='linux'GOPATH='/tmp/home/go'GOPRIVATE=''GOPROXY='https://proxy.golang.org,direct'GOROOT='/tmp/hostedtoolcache/go/1.26.10/x64'GOSUMDB='sum.golang.org'GOTELEMETRY='local'GOTELEMETRYDIR='/tmp/home/.config/go/telemetry'GOTMPDIR=''GOTOOLCHAIN='auto'GOTOOLDIR='/tmp/hostedtoolcache/go/1.26.10/x64/pkg/tool/linux_amd64'GOVCS=''GOVERSION='go1.26.10'GOWORK=''PKG_CONFIG='pkg-config'
successgo vet <1s
Run
go vet ./...
successModule integrity <1s
Run
set -euo pipefail
go mod verify
go mod tidy
if ! git diff --exit-code -- go.mod go.sum; then
  echo "::error::go.mod/go.sum are not tidy; run 'go mod tidy' and commit"
  exit 1
fi
all modules verified
successgovulncheck 5s
Run
go run golang.org/x/vuln/cmd/govulncheck@${GOVULNCHECK_VERSION} ./...
No vulnerabilities found.
successgosec 29s
Run
go run github.com/securego/gosec/v2/cmd/gosec@${GOSEC_VERSION} -quiet ./...
successstaticcheck 8s
Run
go run honnef.co/go/tools/cmd/staticcheck@${STATICCHECK_VERSION} ./...
successRelease binary is reproducible from a clean tree 11s
Run
set -euo pipefail
git diff --quiet || { echo "::error::working tree dirty before build"; git status --short; exit 1; }
CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X rickub.com/rickub/cli/cmd.Version=security-scan" -o "${RUNNER_TEMP}/rickub" .
"${RUNNER_TEMP}/rickub" version
rickub security-scan (linux/amd64)
Post Set up Go
(node:5777) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.(Use `node --trace-deprecation ...` to show where the warning was created)[command]/tmp/hostedtoolcache/go/1.26.10/x64/bin/go env GOMODCACHE[command]/tmp/hostedtoolcache/go/1.26.10/x64/bin/go env GOCACHE/tmp/home/go/pkg/mod/tmp/home/.cache/go-buildCache hit occurred on the primary key setup-go-Linux-x64-ubuntu22-go-1.26.10-e83b8c1f582e6d931577fc73618a9a9b192b6857b1971d1da5ce8a7a9b35f205, not saving cache.

No test reports for this run.

Tell a job where its test runner writes its report and this tab fills in: how many tests passed, failed and were skipped, a bar of the result at a glance, then every failure first — with the assertion that failed and the output around it — over a per-suite list of cases and their durations. No scrolling a log for the word FAIL.

It is one reports: key on the job — a job key, not a step, so the report is collected whatever the job concluded. JUnit XML and go test -json are both understood, and most runners already emit one of them. reports: is a rickub extension and works only in .rickub/workflows/; in .github/workflows/ it is a parse error on purpose, because those files are also meant to run on github.com.