mirror of
https://github.com/restic/restic.git
synced 2024-12-23 00:07:25 +00:00
Install gox before checking out code
Otherwise newer Go versions complain that the hash for the installed version of gox is not in the go.mod, which we don't want anyways because the tests should use the latest version of gox.
This commit is contained in:
parent
2e19d19216
commit
6dee59b789
1 changed files with 4 additions and 4 deletions
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
@ -233,12 +233,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.latest_go }}
|
go-version: ${{ env.latest_go }}
|
||||||
|
|
||||||
- name: Check out code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install gox
|
- name: Install gox
|
||||||
run: |
|
run: |
|
||||||
go install github.com/mitchellh/gox
|
go install github.com/mitchellh/gox@latest
|
||||||
|
|
||||||
|
- name: Check out code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Cross-compile with gox for ${{ matrix.targets }}
|
- name: Cross-compile with gox for ${{ matrix.targets }}
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue