Skip to content

Commit

Permalink
.github/workflows: Make sure to run all Go 1.19 tests
Browse files Browse the repository at this point in the history
This makes sure to enable all tests to run using Go 1.19. Apparently they are checking
for only Go 1.17 which is a not so elegant solution. This is a quick-fix
to make sure that everything runs as expected.
  • Loading branch information
Jacalz committed Dec 1, 2022
1 parent 667ef99 commit 4f5cb8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/platform_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ jobs:
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out
if: ${{ runner.os == 'Linux' && matrix.go-version == '1.17' }}
if: ${{ runner.os == 'Linux' && matrix.go-version == '1.19' }}

- name: Build WebAssembly binary
env:
GOOS: js
GOARCH: wasm
working-directory: cmd/fyne_demo
run: go build
if: ${{ matrix.go-version == '1.17' }}
if: ${{ matrix.go-version == '1.19' }}

- name: Build GopherJS and Wasm full website
run: |
go install github.com/gopherjs/gopherjs@latest
go install ./cmd/fyne
cd cmd/fyne_demo && fyne package --target=web
if: ${{ matrix.go-version == '1.17' && runner.os == 'Linux' }}
if: ${{ matrix.go-version == '1.19' && runner.os == 'Linux' }}

0 comments on commit 4f5cb8a

Please sign in to comment.