Skip to content

Commit

Permalink
Switch the non unix select to all other platforms. also switch to mer…
Browse files Browse the repository at this point in the history
…ged workflow main (#22)
  • Loading branch information
ldemailly authored Sep 2, 2024
1 parent 9adf8ac commit bf1d423
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/include.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
call-gochecks:
uses: fortio/workflows/.github/workflows/gochecks.yml@run_ci_on_windows_and_mac_too
uses: fortio/workflows/.github/workflows/gochecks.yml@main
call-codecov:
uses: fortio/workflows/.github/workflows/codecov.yml@main
call-codeql:
Expand Down
17 changes: 17 additions & 0 deletions timeoutreader_others.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//go:build !unix
// +build !unix

package terminal

import (
"os"
"time"
)

func TimeoutToTimeval(_ time.Duration) any {
return nil
}

func TimeoutReader(_ int, _ any, buf []byte) (int, error) {
return os.Stdin.Read(buf)
}
17 changes: 0 additions & 17 deletions timeoutreader_windows.go

This file was deleted.

0 comments on commit bf1d423

Please sign in to comment.