ci: 加 -race、staticcheck、govulncheck、shellcheck 与真 PostgreSQL 集成测试门禁,release 复用 ci 门禁

This commit is contained in:
Lemon-miaow committed 2026-09-25 00:35:09 +08:00
1 parent 82545548e7
commit 1141ebcd49
8 files changed
+130 -58

No files matched your search

+1 -1
View File
@@ -505,7 +505,7 @@ func (o OffsiteConfig) validate() error {
return fmt.Errorf("config: [offsite] bucket %q must be a bare bucket name; put a key prefix in prefix", o.Bucket)
}
if strings.Contains(o.Prefix, "..") {
return fmt.Errorf("config: [offsite] prefix %q must not contain ..", o.Prefix)
return fmt.Errorf("config: [offsite] prefix %q must not contain \"..\"", o.Prefix)
}
if o.DBKeep < 1 {
return fmt.Errorf("config: [offsite] db_keep %d must be at least 1", o.DBKeep)