mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user