initial action

This commit is contained in:
Ajitem Sahasrabuddhe 2019-12-01 13:11:49 +05:30
parent b9db00f42b
commit e4318de976

25
.github/workflows/go-workflow-1.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: v2 Test @ Go 1.11
on:
pull_request:
branches:
master
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: |
go get github.com/urfave/gfmrun/cmd/gfmrun
go get golang/x/tools/cmd/goimports
npm install markdown-toc
go mod tidy
- name: Run Tests
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