mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
.github/workflows: install dependencies before code checkout
Othwerise dependencies' install mangles go.mod
This commit is contained in:
parent
9ef5935552
commit
6d3567d65c
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -18,8 +18,6 @@ jobs:
|
||||
with:
|
||||
go-version: 1.14
|
||||
id: go
|
||||
- name: Code checkout
|
||||
uses: actions/checkout@master
|
||||
- name: Dependencies
|
||||
env:
|
||||
GO111MODULE: on
|
||||
@ -27,6 +25,8 @@ jobs:
|
||||
go get -u golang.org/x/lint/golint
|
||||
go get -u github.com/kisielk/errcheck
|
||||
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||
- name: Code checkout
|
||||
uses: actions/checkout@master
|
||||
- name: Build
|
||||
env:
|
||||
GO111MODULE: on
|
||||
|
Loading…
Reference in New Issue
Block a user