Skip to content

Clang-Format

Clang-Format #1404

Workflow file for this run

name: Clang-Format
'on':
workflow_dispatch:
inputs:
extra_resolve_options:
description: Extra Resolve Options
required: false
schedule:
- cron: 0 1 * * *
push:
branches:
- master
pull_request:
jobs:
clang-format:
timeout-minutes: 45
name: Clang-Format
runs-on: [self-hosted, docker, builder]
container:
image: ghcr.io/steinwurf/ubuntu-lts-2404:1.0.0
options: --user 0:0
volumes:
- /home/buildbot/.ssh/root/.ssh
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Run Clang-format
run: find ./ -iname *.hpp -o -iname *.cpp -o -iname *.c -o -iname *.h | xargs clang-format --dry-run --Werror
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true