File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Verify Go client
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+
9
+ jobs :
10
+ verify-go :
11
+ name : Verify go client source code is up to date
12
+ strategy :
13
+ matrix :
14
+ os : [ubuntu-latest]
15
+ go_version : [1.14.x]
16
+ runs-on : ${{ matrix.os }}
17
+ steps :
18
+ - name : Install Go ${{ matrix.go }}
19
+
20
+ with :
21
+ go-version : ${{ matrix.go_version }}
22
+ - name : Checkout code
23
+ uses : actions/checkout@v2
24
+ - name : Install dependencies
25
+ run : make all
26
+ - name : Check for changes
27
+ run : |
28
+ if [ -z "$(git status --porcelain)" ]; then
29
+ echo "No changes to the go client source files detected"
30
+ else
31
+ echo "Changes to the go client source files detected, please run 'make all' and push your changes"
32
+ exit 1
33
+ fi
Original file line number Diff line number Diff line change 4
4
yarn.lock
5
5
dist
6
6
.vscode
7
- .gobincache
7
+ .gobincache
8
+ swagger_flat.json
9
+ swagger_go.json
You can’t perform that action at this time.
0 commit comments