802798ce3c
git-subtree-dir: external/capstone git-subtree-split: e46f64fadb351e9ecd05264fab26f2772feb0994
34 lines
657 B
YAML
34 lines
657 B
YAML
name: Run clang-format-20
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**.c'
|
|
- '**.h'
|
|
# Ignore
|
|
- '!suite/auto-sync/**'
|
|
pull_request:
|
|
|
|
# Stop previous runs on the same branch on new push
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
analyze:
|
|
runs-on: ubuntu-24.04
|
|
|
|
name: clang-format-20
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install clang-format-20
|
|
run: |
|
|
sudo apt update -y
|
|
sudo apt install -y clang-format-20
|
|
clang-format-20 --version
|
|
|
|
- name: Check formatting
|
|
run: |
|
|
./suite/run_clang_format.sh
|