Skip to content

Commit

Permalink
Drop Go 1.15 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg committed May 2, 2024
1 parent 4600238 commit 1c06d8f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 ./...
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gobwas/ws

go 1.15
go 1.16

require (
github.com/gobwas/httphead v0.1.0
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=

0 comments on commit 1c06d8f

Please sign in to comment.