mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
.github/workflows/main.yml: re-use makefile rules for installing goling, errcheck and golangci-lint
This commit is contained in:
parent
4821adfd95
commit
c560a338e8
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user