You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
799 B

  1. name: Lint
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. branches: [master]
  8. jobs:
  9. build:
  10. name: Super linter
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout Code
  14. uses: actions/checkout@v2
  15. with:
  16. # Full git history is needed to get a proper list of changed files within `super-linter`
  17. fetch-depth: 0
  18. - name: Lint Code Base
  19. uses: docker://github/super-linter:v4
  20. env:
  21. LINTER_RULES_PATH: .
  22. VALIDATE_ALL_CODEBASE: false
  23. DEFAULT_BRANCH: master
  24. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  25. VALIDATE_MD: true
  26. MARKDOWN_CONFIG_FILE: .markdownlint.yml
  27. VALIDATE_PROTOBUF: false
  28. VALIDATE_JSCPD: false
  29. VALIDATE_NATURAL_LANGUAGE: false