Skip to content

ci: add golangci-lint #1

ci: add golangci-lint

ci: add golangci-lint #1

Workflow file for this run

name: Go Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: true
- name: Install dependencies
run: go mod download
- name: Generate GraphQL code
run: go generate .
- name: Run tests
run: go test ./...