ci: remove nix from gh workflows (#21572)
This commit is contained in:
@@ -6,7 +6,7 @@ REPO_ROOT="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )/.." &> /dev/null && pwd
|
||||
export REPO_ROOT
|
||||
|
||||
LINT_TAGS="e2e,ledger,test_ledger_mock"
|
||||
if [[ ! -z "${NIX:-}" ]]; then
|
||||
if [[ ! -z "${ROCKSDB:-}" ]]; then
|
||||
LINT_TAGS+=",rocksdb"
|
||||
fi
|
||||
export LINT_TAGS
|
||||
|
||||
@@ -6,20 +6,4 @@ for modfile in $(find . -name go.mod); do
|
||||
echo "Updating $modfile"
|
||||
DIR=$(dirname $modfile)
|
||||
(cd $DIR; go mod tidy)
|
||||
done
|
||||
|
||||
# update gomod2nix.toml for simapp
|
||||
# NOTE: gomod2nix should be built using the same go version as the project, the nix flake will make sure of that
|
||||
# automatically.
|
||||
cd simapp
|
||||
if command -v nix &> /dev/null
|
||||
then
|
||||
nix develop .. -c gomod2nix
|
||||
|
||||
if ! command -v gomod2nix &> /dev/null
|
||||
then
|
||||
echo "gomod2nix could not be found in PATH, installing..."
|
||||
go install github.com/nix-community/gomod2nix@latest
|
||||
fi
|
||||
gomod2nix
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user