Docs: Update and fix various markdown issues in the docs #264
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
name: Unit tests | |
env: | |
GOFLAGS: "-buildvcs=false" | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
container: golang:latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
go install honnef.co/go/tools/cmd/staticcheck@latest | |
- name: Lint | |
run: | | |
staticcheck ./... | |
staticcheck -tags=func_test ./... | |
go vet ./... | |
go vet -tags=func_test ./... | |
- name: Run unit tests | |
run: go test ./... | |
- name: Run functional tests | |
run: go test -tags=func_test ./... |