Skip to content

Commit

Permalink
Load version from go.mod automatically
Browse files Browse the repository at this point in the history
use workaround until actions/setup-go#450 is implemented.
  • Loading branch information
Jacalz committed Jan 21, 2025
1 parent 5e2aaf5 commit 3269857
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/mobile_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ['1.19.x', 'stable']
go-version: ['', 'stable']
include:
- os: ubuntu-latest
runner: xvfb-run
Expand All @@ -21,6 +21,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version-file: 'go.mod'

- name: Get dependencies
run: sudo apt-get update && sudo apt-get install gcc libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/platform_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ['1.19.x', 'stable']
go-version: ['', 'stable']
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
Expand All @@ -24,6 +24,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version-file: 'go.mod'

- name: Get dependencies
run: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v5
with:
go-version: '1.19.x'
go-version-file: 'go.mod'

- name: Get dependencies
run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev
Expand Down

0 comments on commit 3269857

Please sign in to comment.