lint_pr: Formatting, upgrade actions

This commit is contained in:
Margen67 2024-09-01 10:03:07 -07:00 committed by GitHub
parent 0f88ba6f00
commit deb48d0b9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 6 deletions

View File

@ -1,12 +1,16 @@
name: lint_pr
on: [push, pull_request]
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.12
with:
source: 'src'
exclude: 'lib'
clangFormatVersion: 12
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: DoozyX/clang-format-lint-action@v0.18.1
with:
source: src
exclude: lib
clangFormatVersion: 12