Debian Codegraph @

.github/workflows/macos-test.yml

raw
1 name: macOS Test
2
3 on:
4 push:
5 branches:
6 - "*"
7 pull_request:
8 branches:
9 - "*"
10
11 jobs:
12 build:
13 strategy:
14 matrix:
15 go-version: ["1.20"]
16 runs-on: macos-latest
17
18 steps:
19 - name: Set up Go
20 uses: actions/setup-go@v3
21 with:
22 go-version: ${{ matrix.go-version }}
23 id: go
24
25 - name: Check out code into the Go module directory
26 uses: actions/checkout@v3
27
28 - name: Run tests
29 run: go test -v -race ./...