file_check.yml 517 B

1234567891011121314151617181920
  1. name: Check File Format and License
  2. on: [pull_request]
  3. jobs:
  4. scancode_job:
  5. runs-on: ubuntu-latest
  6. name: Scan code format and license
  7. steps:
  8. - uses: actions/checkout@v3
  9. - name: Set up Python
  10. uses: actions/setup-python@v3
  11. with:
  12. python-version: 3.8
  13. - name: Check Format and License
  14. shell: bash
  15. run: |
  16. pip install click chardet PyYaml
  17. python tools/file_check.py check 'https://github.com/RT-Thread/rt-thread' 'master'