mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
.github/workflows/main.yml: checkout code before installing dependencies
Dependencies depend on Makefile rules from the code, so code checkout must run first
This commit is contained in:
parent
9ec0175e83
commit
1ae7ca848c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -18,13 +18,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: 1.16
|
go-version: 1.16
|
||||||
id: go
|
id: go
|
||||||
|
- name: Code checkout
|
||||||
|
uses: actions/checkout@master
|
||||||
- name: Dependencies
|
- name: Dependencies
|
||||||
run: |
|
run: |
|
||||||
make install-golint
|
make install-golint
|
||||||
make install-errcheck
|
make install-errcheck
|
||||||
make install-golangci-lint
|
make install-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