File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,29 @@ jobs:
1111 name : Build
1212 runs-on : ubuntu-latest
1313 steps :
14- - name : Set up Go 1.15
15- uses : actions/setup-go@v1.1.3
14+ - name : Set up Go
15+ uses : actions/setup-go@v2
1616 with :
1717 go-version : 1.15
1818 id : go
1919 - name : Check out code into the Go module directory
20- uses : actions/checkout@v2.0.0
20+ uses : actions/checkout@v2
2121 - name : unit-test
2222 run : go test -mod=vendor -v ./...
23+
24+ go-apidiff :
25+ name : go-apidiff
26+ if : github.event_name == 'pull_request'
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Set up Go
30+ uses : actions/setup-go@v2
31+ with :
32+ go-version : 1.15
33+ id : go
34+ - name : Check out code into the Go module directory
35+ uses : actions/checkout@v2
36+ with :
37+ fetch-depth : 0
38+ - name : Run go-apidiff
39+ uses : joelanford/go-apidiff@master
You can’t perform that action at this time.
0 commit comments