diff --git a/.github/workflows/gin.yml b/.github/workflows/gin.yml index cb3a49a8..12a5a60d 100644 --- a/.github/workflows/gin.yml +++ b/.github/workflows/gin.yml @@ -27,9 +27,9 @@ jobs: needs: lint strategy: matrix: - os: [ubuntu-latest, macos-latest] - go: [1.15, 1.16, 1.17, 1.18] - test-tags: ['', '-tags nomsgpack', '-tags "sonic avx"', '-tags go_json'] + os: [ ubuntu-latest, macos-latest ] + go: [ 1.15, 1.16, 1.17, 1.18, 1.19 ] + test-tags: [ '', '-tags nomsgpack', '-tags "sonic avx"', '-tags go_json' ] include: - os: ubuntu-latest go-build: ~/.cache/go-build diff --git a/context_1.17_test.go b/context_1.17_test.go index 69c97864..4c2047e8 100644 --- a/context_1.17_test.go +++ b/context_1.17_test.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -//go:build go1.17 -// +build go1.17 +//go:build go1.17 && !go1.19 +// +build go1.17,!go1.19 package gin