Merge pull request #39 from ecordell/k127 #93
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: "Lint" | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- "!dependabot/*" | |
- "main" | |
pull_request: | |
branches: ["*"] | |
jobs: | |
go-lint: | |
name: "Lint Go" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v3" | |
- uses: "actions/setup-go@v3" | |
with: | |
go-version: "~1.20" | |
- uses: "authzed/actions/gofumpt@main" | |
- uses: "authzed/actions/go-generate@main" | |
- uses: "authzed/actions/golangci-lint@main" | |
extra-lint: | |
name: "Lint YAML & Markdown" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v3" | |
- uses: "authzed/actions/yaml-lint@main" | |
- uses: "authzed/actions/markdown-lint@main" |