mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

FYI. https://groups.google.com/g/golang-announce/c/dRtDK7WS78g Signed-off-by: Benjamin Wang <wachao@vmware.com>
21 lines
475 B
YAML
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.3"
|
|
- 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
|