Skip to content

Commit 9c58ec2

Browse files
committed
Load minimum Go version from go.mod
Use workaround until actions/setup-go#450 is merged.
1 parent 5e2aaf5 commit 9c58ec2

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/mobile_tests.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
go-version: ['1.19.x', 'stable']
12+
go-version: ['', 'stable']
13+
go-version-file: 'go.mod'
1314
include:
1415
- os: ubuntu-latest
1516
runner: xvfb-run

.github/workflows/platform_tests.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
go-version: ['1.19.x', 'stable']
12+
go-version: ['', 'stable']
13+
go-version-file: 'go.mod'
1314
os: [ubuntu-latest, macos-latest]
1415
include:
1516
- os: ubuntu-latest

.github/workflows/web_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
persist-credentials: false
1616
- uses: actions/setup-go@v5
1717
with:
18-
go-version: '1.19.x'
18+
go-version-file: 'go.mod'
1919

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

0 commit comments

Comments
 (0)