From 3eee4a466e388ce08db9f36702d16ebcd7d1eb26 Mon Sep 17 00:00:00 2001 From: "lynn [they]" Date: Wed, 18 Dec 2019 18:09:40 -0800 Subject: [PATCH] Update cli.yml --- .github/workflows/cli.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 826762c..90a8115 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -45,19 +45,20 @@ jobs: chmod +x $GOPATH/bin/gfmrun npm install markdown-toc - - name: Run Tests (v1) - if: contains(github.base_ref, 'v1') + - name: Run Tests run: | go run build.go vet go run build.go test + + - name: Run Tests (v1) + if: contains(github.base_ref, 'v1') + run: | go run build.go gfmrun docs/v1/manual.md go run build.go toc docs/v1/manual.md - name: Run Tests (v2) if: contains(github.base_ref, 'master') run: | - go run build.go vet - go run build.go test go run build.go gfmrun docs/v2/manual.md go run build.go toc docs/v2/manual.md