chore: project hardening — dep swap, CI gates, dependabot, action bumps (#8)

* chore: project hardening — dep swap, CI gates, dependabot, action bumps

- swap gopkg.in/yaml.v3 (upstream archived Apr 2025) for maintained
  github.com/goccy/go-yaml; same Unmarshal API, tags unchanged
- add CI workflow: go vet/test/build + golangci-lint + govulncheck
  on PRs and main pushes
- add dependabot for gomod + github-actions (weekly)
- bump actions to latest majors in update.yml (clears Node 20
  deprecation annotations); workflow logic untouched
- README/history refreshed by E2E verification run (29 agents)

* fix: check Close/Remove error returns (errcheck)

Write paths (writeSnapshots, renderReadme) now propagate close errors —
a failed close there can hide lost data. Read/cleanup paths ignore
explicitly with _ =.
This commit is contained in:
tiennm99 authored and GitHub committed 2026-08-09 02:48:03 +07:00
1 parent 37c360d164
commit 5d66d4757c
11 files changed
+101 -30

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"os"
"gopkg.in/yaml.v3"
"github.com/goccy/go-yaml"
)
type Agent struct {