Merge branch 'github-actions' of https://github.com/asahasrabuddhe/cli into github-actions

This commit is contained in:
Ajitem Sahasrabuddhe 2019-12-07 12:19:04 +05:30
commit c6a1e514a3

View File

@ -43,7 +43,7 @@ jobs:
npm install markdown-toc npm install markdown-toc
- name: Run Tests (v1) - name: Run Tests (v1)
if: contains(github.ref, 'v1') if: contains(github.base_ref, 'v1')
run: | run: |
go run build.go vet go run build.go vet
go run build.go test go run build.go test
@ -51,7 +51,7 @@ jobs:
go run build.go toc docs/v1/manual.md go run build.go toc docs/v1/manual.md
- name: Run Tests (v2) - name: Run Tests (v2)
if: contains(github.ref, 'master') if: contains(github.base_ref, 'master')
run: | run: |
go run build.go vet go run build.go vet
go run build.go test go run build.go test