Skip to content

CI

CI #254

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- synchronize
paths-ignore:
- README.md
- .gitignore
merge_group:
permissions: {}
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
env:
GOPATH: /home/runner/go
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: recursive
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: './.go-version'
check-latest: true
- name: Format check
run: make fmt
- name: golangci-lint
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1
with:
version: v2.12
args: --build-tags testonly
- name: Check generated code
run: make generate