Skip to content

chore: add GitHub Actions CI workflow for build and test #2

chore: add GitHub Actions CI workflow for build and test

chore: add GitHub Actions CI workflow for build and test #2

Workflow file for this run

name: CI
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
jobs:
ci:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Download dependencies
run: go mod download
- name: Build
run: go build ./...
- name: Unit tests
run: go test $(go list ./... | grep -v '/e2e')
- name: E2E tests
run: go test ./e2e/...