fix: Support cloning clients that use DD_AGENT_HOST #223
Workflow file for this run
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
# We use github actions to test the code on windows and linux amd64. Circleci is used for linux arm64. | |
name: datadog-go | |
on: | |
pull_request: | |
jobs: | |
native: | |
strategy: | |
matrix: | |
go-version: | |
- 1.13 | |
- 1.14 | |
- 1.15 | |
- 1.16 | |
- 1.17 | |
- 1.18 | |
- 1.19 | |
- "1.20" | |
- 1.21 | |
runs-on: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
exclude: | |
# These fail on macOS because of this bug https://github.com/golang/go/issues/49138 | |
- runs-on: macos-latest | |
go-version: 1.13 | |
- runs-on: macos-latest | |
go-version: 1.14 | |
- runs-on: macos-latest | |
go-version: 1.15 | |
fail-fast: false | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- run: go vet ./statsd/... | |
- run: go fmt ./statsd/... | |
- run: go test -race -v ./statsd/... |