Skip to content

Optimize M5EPD::getBatteryVoltage() #28

Optimize M5EPD::getBatteryVoltage()

Optimize M5EPD::getBatteryVoltage() #28

name: Clang Format
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: "./" # path to include
exclude: "utility" # path to exclude
# - check: 'src'
# exclude: ''
# - check: 'examples'
# exclude: ''
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.5.0
with:
clang-format-version: "13"
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}