actionlint.yml 521 B

123456789101112131415161718
  1. name: lint workflows
  2. on:
  3. pull_request:
  4. paths:
  5. - '.github/**/*.ya?ml'
  6. jobs:
  7. lint:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v4
  11. - name: Add problem matchers
  12. run: |
  13. # https://github.com/rhysd/actionlint/blob/3a2f2c7/docs/usage.md#problem-matchers
  14. curl -LO https://raw.githubusercontent.com/rhysd/actionlint/main/.github/actionlint-matcher.json
  15. echo "::add-matcher::actionlint-matcher.json"
  16. - uses: docker://rhysd/actionlint:latest