Skip to content

Commit

Permalink
Check build on windows (#77)
Browse files Browse the repository at this point in the history
Add windows build check workflow, fix windows imports

Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke authored Nov 17, 2022
1 parent 9ed76c2 commit ef82f84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Build
run: go build -v ./...

- name: Build windows
run: GOOS=windows GOARCH=amd64 go build -v ./...

- name: Test
run: go test -v ./...
Expand Down
4 changes: 0 additions & 4 deletions ssh_agent_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
package rig

import (
"fmt"
"strings"

"github.com/Microsoft/go-winio"
"github.com/davidmz/go-pageant"
ssh "golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/agent"
)

Expand Down

0 comments on commit ef82f84

Please sign in to comment.