.github/workflows/main.yml: re-use makefile rules for installing goling, errcheck and golangci-lint

This commit is contained in:
Aliaksandr Valialkin 2021-10-26 21:26:39 +03:00
parent 4821adfd95
commit c560a338e8
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -20,9 +20,9 @@ jobs:
id: go
- name: Dependencies
run: |
go get -u golang.org/x/lint/golint
go get -u github.com/kisielk/errcheck
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.29.0
make install-golint
make install-errcheck
make install-golangci-lint
- name: Code checkout
uses: actions/checkout@master
- name: Build