mirror of
https://github.com/octoleo/restic.git
synced 2024-12-26 12:27:33 +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:
|
||||
go-version: ${{ env.latest_go }}
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install gox
|
||||
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 }}
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user