Skip to content

chore: add CI workflow, fix README fixture names, and gitignore output/ #2

chore: add CI workflow, fix README fixture names, and gitignore output/

chore: add CI workflow, fix README fixture names, and gitignore output/ #2

Workflow file for this run

name: CI
on:
push:
branches: [main, "feat/**"]
pull_request:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build
run: go build ./...
- name: Test
run: go test ./... -count=1
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=5m