diff options
| author | Fuwn <[email protected]> | 2026-02-10 02:02:40 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-10 02:02:40 -0800 |
| commit | 1d9861f0ebfa50d2604e746c161ba8c6dee4d117 (patch) | |
| tree | a180ada719a6e7dc3ebfad291c80501d928d3b0a /.github/workflows/ci.yml | |
| parent | fix: harden CI and close remaining test/security gaps (diff) | |
| download | asa.news-1d9861f0ebfa50d2604e746c161ba8c6dee4d117.tar.xz asa.news-1d9861f0ebfa50d2604e746c161ba8c6dee4d117.zip | |
feat: add Go worker tests and include in CI
- Add webhook tests: HMAC signing, headers, status handling, timeout
- Add writer tests: credential stripping, truncation, edge cases
- Add Go test step to CI workflow (actions/setup-go + go test)
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ade8b00..82c13bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,3 +36,12 @@ jobs: - name: test run: pnpm test + + - uses: actions/setup-go@v5 + with: + go-version-file: services/worker/go.mod + cache-dependency-path: services/worker/go.sum + + - name: go test + run: go test ./... -count=1 + working-directory: services/worker |