Skip to content

Add CI: Go linter GitHub Action to gate PR merges #27

@maksimov

Description

@maksimov

Add a GitHub Actions workflow that runs on pull requests and blocks merging if linting fails.

What it should do

  • Run on every PR targeting master
  • go vet ./...
  • go build ./...
  • go test ./...
  • Fail the check if any step fails
  • Required status check in branch protection so PRs can't merge without passing

Nice to have

  • staticcheck or golangci-lint for deeper analysis
  • Cache Go modules between runs for speed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions