Skip to content

Commit

Permalink
fix(ci): install gomod2nix directly (#17365)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Aug 11, 2023
1 parent f8f4c35 commit 3a1ee50
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/go-mod-tidy-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3a1ee50

Please sign in to comment.