Skip to content

Commit c19fc36

Browse files
author
Jayden Thorup
committed
Fix GitHub Actions go-gl module issue
- Clone go-gl repo locally during build - Add replace directive pointing to ./go-gl-temp - Run go mod tidy to update go.sum - Fixes 'missing go.sum entry' error for all platform builds
1 parent ad9ffed commit c19fc36

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ jobs:
5353
sudo apt-get update
5454
sudo apt-get install -y gcc libgl1-mesa-dev xorg-dev
5555
56+
- name: Setup go-gl workaround
57+
run: |
58+
git clone https://github.com/go-gl/gl.git go-gl-temp
59+
echo "" >> go.mod
60+
echo "replace github.com/go-gl/gl => ./go-gl-temp" >> go.mod
61+
go mod tidy
62+
5663
- name: Build (Windows)
5764
if: matrix.os == 'windows-latest'
5865
env:

0 commit comments

Comments
 (0)