go-gl / gl

Go bindings for OpenGL (generated via glow)
MIT License
1.06k stars 72 forks source link

Fix out-of-date workflow #164

Open myaaaaaaaaa opened 3 weeks ago

myaaaaaaaaa commented 3 weeks ago

Workflows are currently failing since macos-latest is now on arm64, which only goes back to go 1.19. See https://github.com/go-gl/gl/actions/runs/9686520667/job/26729113129 for details

This PR resolves this by only testing go 1.12 with ubuntu-latest. Since the point of this test is language compatibility, and all three OS's are still being tested with stable, this shouldn't cause any issues.

I also took the opportunity to change go-versions from go 1.12+go 1.17 to go.mod+stable to future-proof the workflow a little bit better.