.github/workflows: use go install instead of go get

for details, see:
 * 1e62ff3cc8
 * https://github.com/vbatts/git-validation/issues/56

Signed-off-by: Flavian Missi <fmissi@redhat.com>
This commit is contained in:
Flavian Missi 2023-02-15 13:20:37 +01:00
parent 212b38ed22
commit 72dd127472

View file

@ -31,7 +31,7 @@ jobs:
run: |
sudo apt-get -q update
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install python2-minimal
cd /tmp && go get -u github.com/vbatts/git-validation
cd /tmp && go install github.com/vbatts/git-validation@latest
- name: Build
working-directory: ./src/github.com/docker/distribution
@ -47,4 +47,4 @@ jobs:
- uses: codecov/codecov-action@v1
with:
directory: ./src/github.com/docker/distribution
directory: ./src/github.com/docker/distribution