fix(ci): install gomod2nix directly (#17365)

This commit is contained in:
Julien Robert
2023-08-11 12:57:01 +00:00
committed by GitHub
parent f8f4c35a9f
commit 3a1ee507ef
+2 -3
View File
@@ -10,9 +10,8 @@ done
if ! command -v gomod2nix &> /dev/null
then
echo "gomod2nix could not be found in PATH"
echo "run \"go install github.com/nix-community/gomod2nix@latest\" to install"
exit
echo "gomod2nix could not be found in PATH, installing..."
go install github.com/nix-community/gomod2nix@latest
fi
# update gomod2nix.toml for simapp
cd simapp; gomod2nix