From 41747052f819909a5b1e7b665ea46e9d002eac45 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 25 Oct 2021 10:38:16 +0900 Subject: [PATCH 1/2] Update the Go version to 1.12 At least, we will want syscall.Syscall18 for Windows in near future to remove Cgo usages from Windows. 1.12 is the minimum version to support this. Updates #109 --- .github/workflows/main.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c9b073..e5e27f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - go-version: [1.9, 1.12, 1.16] + go-version: [1.12, 1.13, 1.14, 1.15, 1.16, 1.17] os: [macos-latest, windows-latest, ubuntu-latest] steps: - name: Install dependencies (linux) diff --git a/go.mod b/go.mod index 69c7761..dfe9c02 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/go-gl/gl -go 1.9 +go 1.12 From 1f89687b63e50313748994f5725b1e3e9ec31d11 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 26 Oct 2021 00:52:42 +0900 Subject: [PATCH 2/2] Address on review --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e5e27f2..155c9b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - go-version: [1.12, 1.13, 1.14, 1.15, 1.16, 1.17] + go-version: [1.17, 1.16, 1.15, 1.14, 1.13, 1.12] os: [macos-latest, windows-latest, ubuntu-latest] steps: - name: Install dependencies (linux)