Merge pull request #4560 from thread-liu/liukang

[add] .c/.h file format check and license check.
This commit is contained in:
Bernard Xiong authored and GitHub committed 2021-04-02 22:48:16 +08:00
commit de1df3e308
2 files changed
+248

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
name: Check File Format and License
on: [pull_request]
jobs:
scancode_job:
runs-on: ubuntu-latest
name: Scan code format and license
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@master
with:
python-version: 3.8
- name: Check Format and License
shell: bash
run: |
pip install click chardet
python tools/file_check.py check 'https://github.com/RT-Thread/rt-thread' 'master'
+228
View File
File diff suppressed because it is too large. Load diff