Skip to content

build: 添加版本信息注入到构建流程 #37

build: 添加版本信息注入到构建流程

build: 添加版本信息注入到构建流程 #37

Triggered via push March 15, 2026 02:43
Status Success
Total duration 1m 21s
Artifacts 6

go.yml

on: push
Release
Release
Matrix: Build
Notify
Notify
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@v6. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/opencode_cli/opencode_cli. Supported file pattern: go.sum
Test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/opencode_cli/opencode_cli. Supported file pattern: go.sum
Build (linux, arm64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (linux, arm64)
Restore cache failed: Dependencies file is not found in /home/runner/work/opencode_cli/opencode_cli. Supported file pattern: go.sum
Build (linux, amd64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (linux, amd64)
Restore cache failed: Dependencies file is not found in /home/runner/work/opencode_cli/opencode_cli. Supported file pattern: go.sum
Build (darwin, arm64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (darwin, arm64)
Restore cache failed: Dependencies file is not found in /home/runner/work/opencode_cli/opencode_cli. Supported file pattern: go.sum
Build (darwin, amd64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (darwin, amd64)
Restore cache failed: Dependencies file is not found in /home/runner/work/opencode_cli/opencode_cli. Supported file pattern: go.sum
Build (windows, amd64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (windows, amd64)
Restore cache failed: Dependencies file is not found in /home/runner/work/opencode_cli/opencode_cli. Supported file pattern: go.sum
Build (windows, arm64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (windows, arm64)
Restore cache failed: Dependencies file is not found in /home/runner/work/opencode_cli/opencode_cli. Supported file pattern: go.sum

Artifacts

Produced during runtime
Name Size Digest
oho-darwin-amd64 Expired
2.98 MB
sha256:de5b9ad6f3bea13c1b6afe4e123c6fbd502d95592fa25fb67ff27220d7c1f236
oho-darwin-arm64 Expired
2.85 MB
sha256:9dc1bfe88667456ebd00d1f965780fad30ee675eb427610449bbf008984ec9f6
oho-linux-amd64 Expired
2.87 MB
sha256:f07b6effebe41a944a833efd54a053f52f24bb4646cce1f07590be6ceadec753
oho-linux-arm64 Expired
2.62 MB
sha256:a2187b70ee88b4106977ce54199aa0e9bd1be300b68ce03bed69b7a5c44735ab
oho-windows-amd64 Expired
2.94 MB
sha256:988ad3b8817461be07c04d08e6cf7cfbc1e7212ba26edfd498e5505c75527e0b
oho-windows-arm64 Expired
2.66 MB
sha256:2d04f2f3fae3e4613ed521743aacc649699d3bbf671fc219006ec22669f8a55c