Files
gitleaks/.github/workflows/test.yml
T
Bryan BeverlyandCursor db3bc42b83 chore: bump GitHub Actions to Node 24
- gitleaks.yml: gitleaks-action v2 -> v3 (Node 24)
- test.yml: setup-go v5 -> v6
- release.yml: Docker actions to latest (setup-qemu v3,
  setup-buildx v3, login v3, metadata v5, build-push v6)
- Add version comments to all SHA-pinned references

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-30 15:34:47 -07:00

38 lines
786 B
YAML

name: Test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
test:
strategy:
matrix:
platform: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: 1.25
- name: Build
run: go build ./...
- name: Set up gotestsum
run: |
go install gotest.tools/gotestsum@latest
- name: Test
run: |
gotestsum --raw-command -- go test -json ./... --race
- name: Validate Config
run: go generate ./... && git diff --exit-code