etcd/.github/workflows/static-analysis.yaml
spacewander e73a25a1d0 ci: ensure the generated code is up-to-date
See https://github.com/etcd-io/etcd/pull/14612#issue-1419792069
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-10-31 19:58:21 +08:00

21 lines
475 B
YAML

name: Static Analysis
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.19.2"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.49.0
- name: protoc
uses: arduino/setup-protoc@v1
with:
version: '3.14.0'
- run: make verify
- run: make fix