Skip to content

update readme for pkg template #144

update readme for pkg template

update readme for pkg template #144

Workflow file for this run

on:
push:
branches: main
pull_request:
branches:
- main
name: format_check
jobs:
format_check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up LLVM repository
run: |
sudo apt-get update
sudo apt-get install -y wget gnupg
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main" >> /etc/apt/sources.list'
sudo sh -c 'echo "deb-src http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main" >> /etc/apt/sources.list'
sudo apt-get update
- name: Install ClangFormat
run: sudo apt-get install -y clang-format-19
- name: Run ClangFormat
run: make format clang_format=clang-format-19
- name: Check for a non-empty diff
run: git diff-files -U --exit-code