revert 0f945c34a46cec68d7a8d14f7ebd0c472495c3d4 (#554) #28
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
name: linter | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- master | |
- main | |
pull_request: | |
jobs: | |
golangci: | |
name: golint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version | |
version: latest | |
args: --timeout 5m0s | |
markdown: | |
name: markdownlint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: DavidAnson/markdownlint-cli2-action@v3 | |
with: | |
globs: | | |
docs/*.md | |
docs/guides/*.md | |
docs/resources/*.md | |
docs/data-sources/*.md |