2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-29 08:14:03 +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:
Alexander Neumann 2022-03-20 11:15:07 +01:00
parent 2e19d19216
commit 6dee59b789

View File

@ -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: