Skip to content

Update format.yml

Update format.yml #55

Workflow file for this run

name: "format code"
# run on pull requests to develop
on:
pull_request:
branches:
- master
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: format code
uses: DoozyX/[email protected]
with:
source: './src/liblvgl ./include/liblvgl'
clangFormatVersion: 16
inplace: True
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 🎨 apply clang-format changes
branch: ${{ github.head_ref }}