Skip to content

CI Update

CI Update #1540

Workflow file for this run

name: Clang-Format
on:
push:
branches:
- master
pull_request:
jobs:
clang_format:
name: Clang-Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run clang format
run: |
sudo apt update
sudo apt install -y git clang-format
./.run-clang-format
output=$(git diff)
if [ -n "$output" ]; then exit 1; else exit 0; fi