Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

fix: Go version for release publish #354

Merged
merged 1 commit into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Go version for release publish
  • Loading branch information
kylecarbs committed May 20, 2021
commit b721315ef7e767bcc24d270f81a4ab87dc8fb08b
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
- name: Build
run: make -j build/linux build/windows
- name: Upload linux
Expand Down Expand Up @@ -36,6 +39,9 @@ jobs:
with:
p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }}
- uses: actions/setup-go@v2
with:
go-version: '^1.16.3'
- name: Build Release Assets
run: make build/macos
env:
Expand Down
5 changes: 5 additions & 0 deletions wsnet/wsnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ func createDumbBroker(t *testing.T) (connectAddr string, listenAddr string) {
c, err := websocket.Accept(w, r, nil)
if err != nil {
t.Error(err)
return
}
if sess == nil {
t.Error("listen not called")
return
}
nc := websocket.NetConn(context.Background(), c, websocket.MessageBinary)
mut.Lock()
Expand Down