Commit Graph

5 Commits

Author SHA1 Message Date
user
1109fa6ed9 fix: resolve CI failures in docker build
Some checks failed
Check / check (pull_request) Failing after 15s
- Install golangci-lint v2 via binary download instead of go install
  (avoids Go 1.25 requirement of golangci-lint v2.10+)
- Add darwin build tags to tests that depend on macOS keychain:
  derivation_index_test.go, pgpunlock_test.go, validation (keychain tests)
- Move generateRandomString to helpers_darwin.go (only called from
  darwin-only keychainunlocker.go)
- Fix unchecked error returns flagged by errcheck linter
- Add gnupg to builder stage for PGP-related tests
- Use --ulimit memlock=-1:-1 in CI for memguard large secret tests
- Add //nolint:unused for intentionally kept but currently unused test helpers
2026-03-10 12:25:48 -07:00
user
b80936cade ci: encapsulate checks in Dockerfile, simplify CI to docker build
Some checks failed
Check / check (pull_request) Failing after 12s
Per new policy: CI actions simply run 'docker build .'. The Dockerfile
now installs golangci-lint and runs 'make check' early in the build
process, so a successful docker build implies all checks pass.

- Dockerfile: add golangci-lint install and 'make check' before final build
- CI workflow: simplify to just 'docker build .' (no Go setup needed)
- Makefile targets unchanged
2026-02-28 10:32:36 -08:00
eb8ed52f4c security: pin all go install refs to commit SHAs 2026-02-28 10:31:58 -08:00
user
bbfbf43bc2 security: pin CI actions to commit SHAs 2026-02-28 10:31:58 -08:00
user
c0b1302a4e ci: add Gitea Actions workflow for make check 2026-02-28 10:31:58 -08:00