fix(release):完善当前分发证明与质量门禁
bat-rust / Build and test Rust (push) Canceled after 0s
bat-rust / Build and test Go API (push) Canceled after 0s

This commit is contained in:
2026-09-14 06:39:47 +08:00
parent c17904ee1c
commit 13b0bd5b45
39 changed files with 1590 additions and 228 deletions
+7 -7
View File
@@ -249,18 +249,18 @@ jobs:
source /var/lib/act_runner/env.sh
go build -o /tmp/bat-api ./cmd/bat-api
- name: Optional Go lint
- name: Required Go lint
shell: bash
run: |
set -euo pipefail
source /var/lib/act_runner/env.sh
if command -v golangci-lint >/dev/null 2>&1; then
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-/tmp/bat-xdg-cache}"
golangci-lint run ./...
else
printf 'SKIP optional: Go lint (golangci-lint); reason=command not installed\n'
fi
source scripts/ci-versions.sh
command -v golangci-lint >/dev/null 2>&1
actual="$(golangci_lint_actual_version)"
test "${actual}" = "${GOLANGCI_LINT_VERSION}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-/tmp/bat-xdg-cache}"
golangci-lint run ./...
- name: Run documentation status gate
shell: bash