update ci

- remove submodules init
- pre-commit: forbid new submodule, run in ci
This commit is contained in:
hathach 2023-03-17 15:54:25 +07:00
parent 323a56e309
commit 2faad42cb1
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
9 changed files with 10 additions and 29 deletions

View File

@ -42,9 +42,6 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
- name: Checkout hathach/linkermap
uses: actions/checkout@v3
with:

View File

@ -65,9 +65,6 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
- name: Checkout hathach/linkermap
uses: actions/checkout@v3
with:
@ -145,9 +142,6 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
- name: Build
run: python3 tools/build_board.py ${{ matrix.example }}

View File

@ -42,10 +42,8 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Checkout submodules and dependencies
run: |
git submodule update --init lib/FreeRTOS-Kernel lib/lwip
python3 tools/get_family_deps.py ${{ matrix.family }}
- name: Get Dependencies
run: python3 tools/get_family_deps.py ${{ matrix.family }}
- name: Build
run: python3 tools/build_family.py ${{ matrix.family }} CC=iccarm

View File

@ -40,9 +40,6 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
- name: Checkout hathach/linkermap
uses: actions/checkout@v3
with:

View File

@ -39,9 +39,6 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
- name: Checkout hathach/linkermap
uses: actions/checkout@v3
with:

View File

@ -41,9 +41,6 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
- name: Checkout hathach/linkermap
uses: actions/checkout@v3
with:

View File

@ -46,9 +46,6 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip
- name: Get Dependencies
run: python3 tools/get_family_deps.py stm32f4

View File

@ -26,6 +26,9 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Run pre-commit
uses: pre-commit/action@v3.0.0
- name: Run codespell
uses: codespell-project/actions-codespell@master

View File

@ -4,11 +4,12 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.4.0
hooks:
- id: check-yaml
- id: trailing-whitespace
- id: end-of-file-fixer
- id: forbid-submodules
- repo: local
hooks: