diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6ddeb7..5baa09b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - go: [ '1.15', 'stable', 'oldstable' ] + go: [ 'stable', 'oldstable' ] runs-on: ${{ matrix.os }} steps: @@ -42,17 +42,7 @@ jobs: run: | go mod verify - - name: Test Go 1.15 - # This step if needed because -shuffle not available on Go 1.15. - # Tests are failing on MacOS. So, we just disable it. - if: >- - matrix.go == '1.15' && matrix.os != 'macos-latest' - run: | - go test -v -race -cover ./... - - name: Test - if: >- - matrix.go != '1.15' run: | go test -v -race -shuffle=on -cover ./... diff --git a/go.mod b/go.mod index 146c70d..1ff8aa5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/gobwas/ws -go 1.15 +go 1.16 require ( github.com/gobwas/httphead v0.1.0 diff --git a/go.sum b/go.sum index 744c946..4d8ed8f 100644 --- a/go.sum +++ b/go.sum @@ -2,7 +2,5 @@ github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM= github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og= github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= -golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d h1:MiWWjyhUzZ+jvhZvloX6ZrUsdEghn8a64Upd8EMHglE= -golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=