Extend rpc data timeout #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'π Check Code Formatting' | |
on: | |
push: | |
branches: | |
- 'master' | |
paths: | |
- 'src/**' | |
- '!**/README.md' | |
- '!**.rst' | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
branches: | |
- 'master' | |
jobs: | |
formatting-check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: 'β³ Checkout repository' | |
uses: actions/checkout@v4 | |
with: | |
submodules: false | |
persist-credentials: false | |
- name: 'β» Caching dependencies' | |
uses: actions/cache@v4.0.2 | |
id: cache | |
with: | |
path: ~/cache/deps/bin | |
key: 'uncrustify' | |
- name: 'π Install dependencies' | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: source tools/ci.sh && ci_install_code_format_deps | |
- name: 'π Get list of changed files' | |
id: changed-files | |
uses: tj-actions/changed-files@v44 | |
with: | |
files: | | |
src/**/*.c | |
src/**/*.h | |
!src/hal/** | |
!src/uvc/** | |
!src/lib/** | |
!src/drivers/** | |
!src/micropython/** | |
!src/stm32cubeai/** | |
- name: 'π Show list of changed files' | |
run: | | |
echo "${{ toJSON(steps.changed-files.outputs) }}" | |
shell: | |
bash | |
- name: 'π Check code formatting' | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: | | |
source tools/ci.sh && ci_run_code_format_check ${{ steps.changed-files.outputs.all_changed_files }} |