Files
go-hauk/.github/workflows/ci.yml
dependabot[bot] a7694a3a49 Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-26 20:11:52 +00:00

37 lines
844 B
YAML

name: ci
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
services:
redis:
image: redis:alpine
ports:
- 6379:6379
env:
TEST_REDIS_ADDR: localhost:6379
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- run: go build ./...
- run: go vet ./...
- run: go test ./...
vuln:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: golang/govulncheck-action@v1
with:
go-version-file: go.mod
# reuse the checkout above; the action's own bundled checkout
# conflicts with checkout v6 (duplicate Authorization header)
repo-checkout: false