Waybar/.github/workflows/clang-format.yml

20 lines
453 B
YAML
Raw Normal View History

name: clang-format
2022-04-06 06:27:52 +00:00
2022-04-11 06:49:20 +00:00
on: [push, pull_request]
2022-04-06 06:27:52 +00:00
2024-02-19 22:09:24 +00:00
concurrency:
group: ${{ github.workflow }}-format-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
2022-04-06 06:27:52 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2024-02-19 22:09:24 +00:00
- uses: actions/checkout@v3
- uses: DoozyX/clang-format-lint-action@v0.16.2
name: clang-format
with:
source: "."
extensions: "hpp,h,cpp,c"
clangFormatVersion: 16