Files
rgbds/.github/workflows/checkformat.yml
T
ISSOtm 4ea15ed85a Touch up checkformat.bash
The logic can be slightly simplified,
and the script doesn't require Bash after all.
2026-04-16 01:05:03 +02:00

20 lines
433 B
YAML

name: Code format checking
on: pull_request
env:
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
TERM: xterm-256color
CLICOLOR: 1
CLICOLOR_FORCE: 1
jobs:
checkformat:
runs-on: ubuntu-slim
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Check format
run: |
sudo apt install clang-format
contrib/checkformat.sh