mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
.github/workflows: install dependencies before code checkout
Othwerise dependencies' install mangles go.mod
This commit is contained in:
parent
9ef5935552
commit
6d3567d65c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -18,8 +18,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: 1.14
|
go-version: 1.14
|
||||||
id: go
|
id: go
|
||||||
- name: Code checkout
|
|
||||||
uses: actions/checkout@master
|
|
||||||
- name: Dependencies
|
- name: Dependencies
|
||||||
env:
|
env:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
|
@ -27,6 +25,8 @@ jobs:
|
||||||
go get -u golang.org/x/lint/golint
|
go get -u golang.org/x/lint/golint
|
||||||
go get -u github.com/kisielk/errcheck
|
go get -u github.com/kisielk/errcheck
|
||||||
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||||
|
- name: Code checkout
|
||||||
|
uses: actions/checkout@master
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
|
|
Loading…
Reference in a new issue