Skip to content

Commit 7f6a036

Browse files
committed
2 parents 8d7b598 + a5e6f16 commit 7f6a036

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/sdktest.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Go SDK Test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: windows-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
17+
- name: Set up Go
18+
uses: actions/setup-go@v3
19+
with:
20+
go-version: '1.16'
21+
22+
- name: Navigate to subdirectory and run go mod tidy
23+
run: |
24+
cd ./test
25+
go mod tidy
26+
27+
- name: Run Go Tests
28+
working-directory: ./test
29+
run: go test -v

0 commit comments

Comments
 (0)