Skip to content

Commit

Permalink
try go 1.16 again
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Nov 7, 2023
1 parent 3ddbbe7 commit c542b38
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
goVer: ['1.18', '1.20']
goVer: ['1.16', '1.18', '1.20']
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion bn256/gfp_decl.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//go:build (amd64 && !purego) || (arm64 && !purego)
// +build amd64,!purego arm64,!purego
// +build amd64 arm64

Check failure on line 2 in bn256/gfp_decl.go

View workflow job for this annotation

GitHub Actions / test (1.21.x, arm64)

+build lines do not match //go:build condition

Check failure on line 2 in bn256/gfp_decl.go

View workflow job for this annotation

GitHub Actions / build (1.20)

+build lines do not match //go:build condition
// +build !purego

package bn256

Expand Down
3 changes: 2 additions & 1 deletion bn256/gfp_generic.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//go:build (!amd64 && !arm64) || purego
// +build !amd64,!arm64 purego
// +build !amd64 purego

Check failure on line 2 in bn256/gfp_generic.go

View workflow job for this annotation

GitHub Actions / test (1.21.x, arm64)

+build lines do not match //go:build condition

Check failure on line 2 in bn256/gfp_generic.go

View workflow job for this annotation

GitHub Actions / build (1.18)

+build lines do not match //go:build condition

Check failure on line 2 in bn256/gfp_generic.go

View workflow job for this annotation

GitHub Actions / build (1.20)

+build lines do not match //go:build condition
// +build !arm64 purego

package bn256

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/emmansun/sm9

go 1.18
go 1.16

require golang.org/x/sys v0.14.0

0 comments on commit c542b38

Please sign in to comment.