From b8e67b80803ab01b42d4d36cb5f8af59a2ce4f10 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Sat, 21 May 2022 22:38:34 +0800 Subject: [PATCH 1/3] go 1.16.x --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fc742b1..5069645 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,7 +11,7 @@ jobs: build: strategy: matrix: - go-version: [1.17.x] + go-version: [1.16.x] os: [macos-11, windows-latest] runs-on: ${{ matrix.os }} steps: From 8352078b13c2848439046ff99f464dad850e5519 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Sat, 21 May 2022 22:42:49 +0800 Subject: [PATCH 2/3] x --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5069645..9c65102 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: go-version: [1.16.x] - os: [macos-11, windows-latest] + os: [windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 From fbc8365d358a98ae8cfc2afdf03c22b907cf3b76 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Sat, 21 May 2022 22:45:21 +0800 Subject: [PATCH 3/3] +build --- .github/workflows/go.yml | 2 +- libc_test.go | 1 + libtest_test.go | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9c65102..5069645 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: go-version: [1.16.x] - os: [windows-latest] + os: [macos-11, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/libc_test.go b/libc_test.go index d77d708..87f5b72 100644 --- a/libc_test.go +++ b/libc_test.go @@ -1,4 +1,5 @@ //go:build darwin +// +build darwin package libc diff --git a/libtest_test.go b/libtest_test.go index cef225f..6963a88 100644 --- a/libtest_test.go +++ b/libtest_test.go @@ -1,4 +1,5 @@ //go:build darwin +// +build darwin package libc_test