Skip to content

CI

CI #160

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- synchronize
paths-ignore:
- README.md
- .gitignore
merge_group:
jobs:
lint:
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/go
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: recursive
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.21'
check-latest: true
- name: Format check
run: make fmt
- name: golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
with:
version: v1.59
args: --build-tags testonly
- name: Check generated code
run: make generate