diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d9a77b9..cf9b3b4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,10 +24,7 @@ jobs: go-version: '1.22' - name: Build contracts - run: cd contracts; make build; cd .. - - - name: Move contracts - run: sudo make move-contracts + run: sudo make build-contracts - name: Test run: go test -v ./... diff --git a/Makefile b/Makefile index 0b32bfa..6f2a896 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,14 @@ ########################### -### Move contracts ### +### Build contracts ### ########################### #!/bin/bash UNAMEP := $(shell uname -p) -move-contracts: +build-contracts: echo $(UNAMEP) mkdir -p contracts_wasm + cd contracts; make build; cd .. for file in ./contracts/artifacts/*; do \ if [ $(UNAMEP) = arm ]; then \ echo "$$file"; \