From af283f63e5fbf014a2c1b531c2fe11899d2ea62c Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 23 Jun 2023 02:07:06 -0400 Subject: [PATCH] ci: move go get to node/run setup --- .circleci/config.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 16278c5..2bc8730 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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,8 +25,13 @@ workflows: TINYGO="tinygo_${VERSION}_amd64.deb"; wget https://github.com/tinygo-org/tinygo/releases/download/v$VERSION/$TINYGO; sudo dpkg -i $TINYGO && rm $TINYGO; - cd src/golang; - go get; + setup: + - name: Fetch Wasm Deps + run: + command: > + cd src/golang; + go get; + post-steps: - persist_to_workspace: