ci: move go get to node/run setup
This commit is contained in:
parent
7edc7d78db
commit
af283f63e5
|
@ -10,9 +10,9 @@ workflows:
|
||||||
name: build
|
name: build
|
||||||
npm-run: build
|
npm-run: build
|
||||||
pre-steps:
|
pre-steps:
|
||||||
- run:
|
- name: Setup Golang
|
||||||
|
run:
|
||||||
command: >
|
command: >
|
||||||
set -x;
|
|
||||||
sudo apt-get update;
|
sudo apt-get update;
|
||||||
sudo apt-get install bison;
|
sudo apt-get install bison;
|
||||||
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer);
|
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";
|
TINYGO="tinygo_${VERSION}_amd64.deb";
|
||||||
wget https://github.com/tinygo-org/tinygo/releases/download/v$VERSION/$TINYGO;
|
wget https://github.com/tinygo-org/tinygo/releases/download/v$VERSION/$TINYGO;
|
||||||
sudo dpkg -i $TINYGO && rm $TINYGO;
|
sudo dpkg -i $TINYGO && rm $TINYGO;
|
||||||
|
setup:
|
||||||
|
- name: Fetch Wasm Deps
|
||||||
|
run:
|
||||||
|
command: >
|
||||||
cd src/golang;
|
cd src/golang;
|
||||||
go get;
|
go get;
|
||||||
|
|
||||||
|
|
||||||
post-steps:
|
post-steps:
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: .
|
root: .
|
||||||
|
|
Loading…
Reference in New Issue