ci: move go get to node/run setup

This commit is contained in:
Derrick Hammer 2023-06-23 02:07:06 -04:00
parent 7edc7d78db
commit af283f63e5
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 9 additions and 4 deletions

View File

@ -10,9 +10,9 @@ workflows:
name: build
npm-run: build
pre-steps:
- run:
- name: Setup Golang
run:
command: >
set -x;
sudo apt-get update;
sudo apt-get install bison;
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer);
@ -25,9 +25,14 @@ workflows:
TINYGO="tinygo_${VERSION}_amd64.deb";
wget https://github.com/tinygo-org/tinygo/releases/download/v$VERSION/$TINYGO;
sudo dpkg -i $TINYGO && rm $TINYGO;
setup:
- name: Fetch Wasm Deps
run:
command: >
cd src/golang;
go get;
post-steps:
- persist_to_workspace:
root: .