fix: make LAN preparation status transient #50
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Go | |
| uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: false | |
| - name: Verify mux import boundary | |
| run: go test ./internal/muxtransport -run TestNoDirectMuxImports | |
| - name: Test | |
| run: go test ./... | |
| - name: Compile Windows LAN mDNS spike | |
| if: runner.os == 'Windows' | |
| run: go build ./cmd/lanmdns-spike | |
| - name: Smoke test Windows LAN mDNS coexistence | |
| if: runner.os == 'Windows' | |
| env: | |
| GOHERE_WINDOWS_MDNS_SMOKE: "1" | |
| run: go test ./internal/lanmdns -run TestWindowsTransportHostedSmoke -v | |
| - name: Vet | |
| run: go vet ./... | |
| race: | |
| name: Race | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Go | |
| uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: false | |
| - name: Race | |
| run: go test -race ./... |