mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 22:27:35 +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
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 New Issue
Block a user