Install Rust in CI before building yrs.wasm
CI / go (Server) (push) Successful in 13m23s
CI / go (Web-App) (push) Successful in 10m48s
CI / frontend (push) Failing after 6m41s
CI / desktop (ubuntu-latest) (push) Failing after 31m25s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Failing after 37s
CI / docker (push) Failing after 2m44s

The Gitea runner image has no rustup, so the Server job failed before
go generate. dtolnay/rust-toolchain installs stable with the
wasm32-wasip1 target.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tajniak81andClaude Opus 5.5 committed 2026-11-03 10:36:05 +01:00
1 parent be13a5ab6f
commit d01c61df20
1 file changed
+5 -3
+5 -3
View File
@@ -16,12 +16,14 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: "1.26"
- uses: dtolnay/rust-toolchain@stable
if: matrix.module == 'Server'
with:
targets: wasm32-wasip1
- name: Build yrs.wasm (embedded by the server)
if: matrix.module == 'Server'
working-directory: Server
run: |
rustup target add wasm32-wasip1
go generate ./internal/ycrdt
run: go generate ./internal/ycrdt
- name: Go types are up to date
if: matrix.module == 'Server'
working-directory: Server