Skip to content

Add formatting infrastructure to the project #5

Add formatting infrastructure to the project

Add formatting infrastructure to the project #5

Workflow file for this run

name: Lint
on:
pull_request:
paths:
- src/**
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- name: Setup Linux
run: |
sudo apt-get install -y --no-install-recommends clang-format-18
rm /usr/bin/clang-format && ln -s clang-format-18 /usr/bin/clang-format
- name: Lint
run: |
python3 ./tools/cross/format.py --check