Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 1m29s
CI / Tests (Linux, race detector) (push) Failing after 1m48s
CI / Dependency audit (push) Successful in 21s
Release / ci (push) Failing after 1m50s
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
Always-on Go service (stdlib only) that follows the Traefik JSON access log, the sshd log and the fail2ban log of a host, classifies attacks, scores sources, keeps bounded aggregates with snapshots, and serves an embedded dashboard with live updates, offline geolocation (DB-IP Lite), privacy-friendly traffic analytics, an exportable blocklist and token-authenticated federation between instances. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: Weekly
|
|
|
|
# Checks that do not depend on a push: a new Go vulnerability advisory can land
|
|
# on a dependency or on the toolchain while the code stands still.
|
|
on:
|
|
schedule:
|
|
- cron: '17 6 * * 1'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: weekly
|
|
cancel-in-progress: false
|
|
|
|
env:
|
|
GOCACHE: /opt/hostedtoolcache/go-build
|
|
GOMODCACHE: /opt/hostedtoolcache/go-mod
|
|
GOPATH: /opt/hostedtoolcache/gopath
|
|
|
|
jobs:
|
|
audit:
|
|
name: Dependency audit
|
|
runs-on: linux-arm64
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version-file: go.mod
|
|
- name: govulncheck
|
|
run: |
|
|
command -v govulncheck >/dev/null || go install golang.org/x/vuln/cmd/govulncheck@latest
|
|
export PATH="$PATH:$(go env GOPATH)/bin"
|
|
govulncheck ./...
|
|
|
|
race:
|
|
name: Tests (race detector, repeated)
|
|
runs-on: linux-arm64
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version-file: go.mod
|
|
- run: go test -race -count=5 ./...
|