mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
github: Re-order code tests tasks
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
@@ -69,10 +69,6 @@ jobs:
|
||||
echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
|
||||
if: matrix.go == 'tip'
|
||||
|
||||
- name: Check compatible min Go version
|
||||
run: |
|
||||
go mod tidy
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
@@ -97,14 +93,18 @@ jobs:
|
||||
|
||||
python3 -m pip install flake8
|
||||
|
||||
- name: Download go dependencies
|
||||
run: |
|
||||
go mod download
|
||||
|
||||
- name: Fix repository permissions
|
||||
run: |
|
||||
sudo chown -R runner:docker .
|
||||
|
||||
- name: Check compatible min Go version
|
||||
run: |
|
||||
go mod tidy
|
||||
|
||||
- name: Download go dependencies
|
||||
run: |
|
||||
go mod download
|
||||
|
||||
- name: Run Incus build
|
||||
run: |
|
||||
make
|
||||
|
||||
Reference in New Issue
Block a user