.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 id: go
- name: Dependencies - name: Dependencies
run: | run: |
go get -u golang.org/x/lint/golint make install-golint
go get -u github.com/kisielk/errcheck make install-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-golangci-lint
- name: Code checkout - name: Code checkout
uses: actions/checkout@master uses: actions/checkout@master
- name: Build - name: Build