simplify make mod-tidy (#1592)

This commit is contained in:
Alessandro Ros 2023-03-23 11:30:10 +01:00 committed by GitHub
parent fb1c16d606
commit cd9d5922d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,3 @@
mod-tidy:
docker run --rm -it -v $(PWD):/s -w /s $(BASE_IMAGE) \
sh -c "apk add git && GOPROXY=direct go get && go mod tidy"
sh -c "apk add git && GOPROXY=direct go mod tidy"