vsock: check for ENETUNREACH and ETIMEDOUT as well in failed Dial tes… #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Test | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build: | |
strategy: | |
matrix: | |
go-version: ["1.18", "1.19", "1.20"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Run tests | |
run: go test -v -race ./... | |
# Although this package doesn't support Windows, we want to verify that | |
# everything builds properly. | |
- name: Verify build for non-UNIX platforms | |
run: go build | |
env: | |
GOOS: windows |