mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-10 06:57:24 +00:00
- Revert the version pin from #7706. - Override the YAML linter config to be more forgiving. - Update YAML lint warnings in a number of files. The choice of which lints to fix and which to override was ad hoc: I fixed the ones that were mainly whitespace oriented, and suppressed the ones that were document-structure related. Fixes #7707.
33 lines
684 B
YAML
33 lines
684 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- "**.md"
|
|
- "**.yml"
|
|
- "**.yaml"
|
|
pull_request:
|
|
branches: [master]
|
|
paths:
|
|
- "**.md"
|
|
- "**.yml"
|
|
|
|
jobs:
|
|
build:
|
|
name: Super linter
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v2.4.0
|
|
- name: Lint Code Base
|
|
uses: docker://github/super-linter:v4
|
|
env:
|
|
VALIDATE_ALL_CODEBASE: true
|
|
DEFAULT_BRANCH: master
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
VALIDATE_MD: true
|
|
VALIDATE_OPENAPI: true
|
|
VALIDATE_YAML: true
|
|
YAML_CONFIG_FILE: yaml-lint.yml
|