Skip to content

chore: add gh workflow #4

chore: add gh workflow

chore: add gh workflow #4

Workflow file for this run

name: Pre-merge checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.23'
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/[email protected]
- name: Lint
run: golangci-lint run ./...
- name: Test
run: go test -v ./...