Skip to content

[filter] declarative paradigm #1253

[filter] declarative paradigm

[filter] declarative paradigm #1253

Workflow file for this run

name: 'Format'
on:
push:
branches: [ 'master' ]
pull_request:
branches: [ 'master' ]
schedule:
- cron: '0 0 * * */5'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- name: 'Checkout'
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: 'Install'
run: |
sudo apt update
sudo apt upgrade
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 17 all
pip install cmakelang
- name: 'Test'
run: |
find . \
-iname '*.hpp' \
-o -iname '*.tpp' \
-o -iname '*.cpp' \
-o -iwholename './support/format' \
-o -iwholename './support/generator' \
-o -iwholename './support/print' \
| xargs \
clang-format-17 --Werror --dry-run --verbose -style=file
find . \
-iname 'CMakeLists.txt' \
-o -iname '*.cmake.in' \
| xargs \
cmake-format --check