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.

пре 4 година
1234567891011121314151617181920212223
  1. name: "Run tests"
  2. on:
  3. - push
  4. - pull_request
  5. env:
  6. FORMAT_FILE: README.md
  7. jobs:
  8. test:
  9. name: 'Validate README.md'
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout repository
  13. uses: actions/checkout@v2
  14. - name: Validate Markdown format
  15. run: build/validate_format.py ${FORMAT_FILE}
  16. - name: Validate pull request changes
  17. run: build/github-pull.sh ${{ github.repository }} ${{ github.event.pull_request.number }} ${FORMAT_FILE}
  18. if: github.event_name == 'pull_request'