diff --git a/.github/workflows/build-and-test-v3.yml b/.github/workflows/build-and-test-v3.yml index 1a0c617d724..e0f6f205f57 100644 --- a/.github/workflows/build-and-test-v3.yml +++ b/.github/workflows/build-and-test-v3.yml @@ -284,6 +284,9 @@ jobs: # Replace @wailsio/runtime version with local tarball npm pkg set dependencies.@wailsio/runtime="file://$RUNTIME_TGZ" cd .. + # Register the generated project in the workspace so Go 1.25 workspace + # mode does not reject packages in a module not listed in go.work. + go work use . wails3 build # GTK3 legacy template builds are covered by the Go example compilation tests above. diff --git a/v3/internal/commands/build_assets/linux/Taskfile.yml b/v3/internal/commands/build_assets/linux/Taskfile.yml index d46271f7888..db3bf3ac074 100644 --- a/v3/internal/commands/build_assets/linux/Taskfile.yml +++ b/v3/internal/commands/build_assets/linux/Taskfile.yml @@ -36,7 +36,7 @@ tasks: TARGET_ARCH: '{{.ARCH | default ARCH}}' # Check if a C compiler is available (gcc or clang) — cross-platform via wails3 tool HAS_CC: - sh: 'wails3 tool has gcc|clang' + sh: 'wails3 tool has "gcc|clang"' build:native: summary: Builds the application natively on Linux