Skip to content

ci: add cross-platform E2E tests, SBOMs, Cosign, and GHCR Docker release #9

ci: add cross-platform E2E tests, SBOMs, Cosign, and GHCR Docker release

ci: add cross-platform E2E tests, SBOMs, Cosign, and GHCR Docker release #9

Workflow file for this run

name: CI
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
jobs:
test:
name: Test (${{ matrix.os }}, Go ${{ matrix.go }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: ['1.23', '1.24']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache-dependency-path: go.sum
- name: Generate
run: go generate ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -race -count=1 ./tests/...