-
Notifications
You must be signed in to change notification settings - Fork 135
42 lines (40 loc) · 1.05 KB
/
datadog-go.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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
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/...