Merge branch 'github-actions' of https://github.com/asahasrabuddhe/cli into github-actions
This commit is contained in:
commit
c6a1e514a3
4
.github/workflows/cli.yml
vendored
4
.github/workflows/cli.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
npm install markdown-toc
|
||||
|
||||
- name: Run Tests (v1)
|
||||
if: contains(github.ref, 'v1')
|
||||
if: contains(github.base_ref, 'v1')
|
||||
run: |
|
||||
go run build.go vet
|
||||
go run build.go test
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
go run build.go toc docs/v1/manual.md
|
||||
|
||||
- name: Run Tests (v2)
|
||||
if: contains(github.ref, 'master')
|
||||
if: contains(github.base_ref, 'master')
|
||||
run: |
|
||||
go run build.go vet
|
||||
go run build.go test
|
||||
|
Loading…
Reference in New Issue
Block a user