Skip to content

ci: add markdown linter and change to ubuntu 20.04 github runner #32

ci: add markdown linter and change to ubuntu 20.04 github runner

ci: add markdown linter and change to ubuntu 20.04 github runner #32

Workflow file for this run

name: Lint
on:
pull_request:
branches: ["main"]
paths:
- "**.md"
- "LICENSE"
push:
branches: ["*"]
paths:
- "**.md"
- "LICENSE"
concurrency:
group: ${{ github.workflow}}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
format:
uses: trfore/ansible-role/.github/workflows/format.yml@main
check:
needs:
- format
runs-on: ubuntu-latest
steps:
- run: >-
python -c "assert set([
'${{ needs.format.result }}',
]) == {'success'}"