Skip to content

Commit ba4f15f

Browse files
committed
test.yml: spell out the steps rather than using make
1 parent 37ddc22 commit ba4f15f

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,25 @@ jobs:
77
os: [ubuntu-latest, macos-latest]
88
runs-on: ${{ matrix.os }}
99
steps:
10+
- name: Setup go
11+
uses: actions/setup-go@v2
12+
with:
13+
go-version: '1.17'
14+
1015
- name: Checkout code
1116
uses: actions/checkout@v2
17+
1218
- name: Get full repo history
1319
run: git fetch --prune --unshallow --tags
20+
21+
- name: Download dependencies
22+
run: go mod download
23+
24+
- name: Build
25+
run: |
26+
mkdir -p bin
27+
go build -o bin .
28+
ls -la bin
29+
1430
- name: Test
15-
run: make test
31+
run: go test -race -timeout 60s ./...

0 commit comments

Comments
 (0)