Fix v3 workflow

This commit is contained in:
Lea Anthony 2025-05-30 08:12:17 +10:00
commit d3d87d09aa
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405

View file

@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
os: [windows-latest, ubuntu-latest, macos-latest]
go-version: [1.24]
steps:
@ -60,24 +60,24 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Examples
working-directory: ./v3
working-directory: v3
run: task test:examples
- name: Run tests (mac)
if: matrix.os == 'macos-latest'
env:
CGO_LDFLAGS: -framework UniformTypeIdentifiers -mmacosx-version-min=10.13
working-directory: ./v3
working-directory: v3
run: go test -v ./...
- name: Run tests (windows)
if: matrix.os == 'windows-latest'
working-directory: ./v3
working-directory: v3
run: go test -v ./...
- name: Run tests (ubuntu)
if: matrix.os == 'ubuntu-latest'
working-directory: ./v3
working-directory: v3
run: >
xvfb-run --auto-servernum
sh -c '
@ -86,7 +86,7 @@ jobs:
'
- name: Typecheck binding generator output
working-directory: ./v3
working-directory: v3
run: task generator:test:check
test_js:
@ -160,7 +160,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Wails3 CLI
working-directory: ./v3
working-directory: v3
run: |
task install
wails3 doctor
@ -173,7 +173,7 @@ jobs:
cd ${{ matrix.template }}
wails3 build
results:
build_results:
if: ${{ always() }}
runs-on: ubuntu-latest
name: v3 Build Results