They didn't seem to correspond to the workflow, properly. Making triggering them locally weird.
23 lines
618 B
YAML
23 lines
618 B
YAML
name: clang-format
|
|
|
|
on: [push, pull_request]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-format-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
# TODO: bump to clang 19 release
|
|
# - uses: DoozyX/clang-format-lint-action@v0.18.2
|
|
- uses: DoozyX/clang-format-lint-action@558090054b3f39e3d6af24f0cd73b319535da809
|
|
name: clang-format
|
|
with:
|
|
source: "."
|
|
extensions: "hpp,h,cpp,c"
|
|
style: "file:.clang-format"
|
|
clangFormatVersion: 19
|