From de2dcda2e03c538e74260b6f8b5ad94314ced98c Mon Sep 17 00:00:00 2001 From: Mihai Parparita Date: Tue, 19 Jul 2022 14:32:06 -0700 Subject: [PATCH] .github/workflows: update module that we try to build in cross-wasm We now have the actual module that we need to build, so switch to building it directly instead of its (expected) dependencies. Also fix a copy/paste error in a jsdeps comment. Signed-off-by: Mihai Parparita --- .github/workflows/cross-wasm.yml | 4 ++-- tstest/jsdeps/jsdeps.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cross-wasm.yml b/.github/workflows/cross-wasm.yml index af3b70d66..34697a517 100644 --- a/.github/workflows/cross-wasm.yml +++ b/.github/workflows/cross-wasm.yml @@ -25,11 +25,11 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v3 - - name: Wasm build CLI and client modules + - name: Wasm client build env: GOOS: js GOARCH: wasm - run: go build ./cmd/tailscale/cli ./ipn/... ./net/... ./safesocket ./types/... ./wgengine/... + run: go build ./cmd/tsconnect/wasm - uses: k0kubun/action-slack@v2.0.0 with: diff --git a/tstest/jsdeps/jsdeps.go b/tstest/jsdeps/jsdeps.go index a7b6c1444..3eea9b81d 100644 --- a/tstest/jsdeps/jsdeps.go +++ b/tstest/jsdeps/jsdeps.go @@ -4,8 +4,8 @@ // Package jsdeps is a just a list of the packages we import in the // JavaScript/WASM build, to let us test that our transitive closure of -// dependencies on iOS doesn't accidentally grow too large, since binary size -// is more of a concern there. +// dependencies doesn't accidentally grow too large, since binary size +// is more of a concern. package jsdeps import (