Skip to content

ci: dispatch-sync workflow #3

ci: dispatch-sync workflow

ci: dispatch-sync workflow #3

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
go:
name: Go formatting and linting
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Check Go formatting
run: test -z "$(gofmt -l cmd internal)"
- name: Lint Go
uses: golangci/golangci-lint-action@v9
with:
args: ./...