diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 663e9db..4f6e271 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,25 +21,18 @@ jobs: with: node-version: 18.x cache: 'npm' + - name: Setup Golang + uses: actions/setup-go@v4 + with: + go-version: 1.19 - name: Setup Golang run: | - sudo apt-get update && sudo apt-get install bsdmainutils -y bison; - bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer); - source ~/.gvm/scripts/gvm || true; - gvm install go1.4 -B; - gvm use go1.4 --default; - gvm install go1.19 -B; VERSION=0.28.1; TINYGO="tinygo_${VERSION}_amd64.deb"; wget -q https://github.com/tinygo-org/tinygo/releases/download/v$VERSION/$TINYGO; sudo dpkg -i $TINYGO && rm $TINYGO; - name: Fetch Wasm Deps - run: | - source ~/.gvm/scripts/gvm || true; - gvm use go1.19 --default || true; - set -x; - cd src/golang; - go get; + run: cd src/golang && go get - run: npm ci - run: npm run build --if-present - name: Install SSH key