Files
awesome-falsehood/.github/workflows/lint.yaml
dependabot[bot] 64170c42da Bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 11:58:23 +04:00

47 lines
1.0 KiB
YAML

---
name: Lint
"on":
push:
pull_request:
schedule:
# Run linter every week to catch regressions from external dependencies.
- cron: 17 9 * * 1
jobs:
lint-markdown:
name: Lint markdown
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.4.0
- uses: avto-dev/markdown-lint@v1.5.0
with:
config: '.github/markdown-lint.yaml'
args: './**/*.md'
lint-awesome:
name: Lint Awesome list
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.4.0
with:
# Fetch all history to please linter's age checks.
fetch-depth: 0
- run: |
npx awesome-lint --version
npx awesome-lint
lint-yaml:
name: Lint YAML files
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/setup-python@v2.2.2
- name: Install linter
run: |
python -m pip install --upgrade pip
python -m pip install yamllint
- name: Lint
run: |
yamllint .