gd-tools/cpr-1.10.5/.github/workflows/clang-format.yml
2024-02-07 16:32:30 -04:00

19 lines
529 B
YAML

name: "Test Clang Format"
on: [push, pull_request]
jobs:
clang-format:
runs-on: ubuntu-latest
container: fedora:latest
steps:
- name: Update package list
run: sudo dnf update -y
- name: Install dependencies
run: sudo dnf install -y openssl-devel cmake git gcc clang ninja-build
- name: Install clang-tidy
run: sudo dnf install -y clang-tools-extra
- name: Checkout
uses: actions/checkout@v3
- name: Check format
uses: RafikFarhad/clang-format-github-action@v3.0.0