fix(ci): install gomod2nix directly (#17365)
This commit is contained in:
parent
f8f4c35a9f
commit
3a1ee507ef
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user