.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:
Aliaksandr Valialkin 2021-10-26 22:08:54 +03:00
parent 9ec0175e83
commit 1ae7ca848c
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -18,13 +18,13 @@ jobs:
with:
go-version: 1.16
id: go
- name: Code checkout
uses: actions/checkout@master
- name: Dependencies
run: |
make install-golint
make install-errcheck
make install-golangci-lint
- name: Code checkout
uses: actions/checkout@master
- name: Build
env:
GO111MODULE: on