gd-tools/cpr-1.10.5/.github/workflows/clang-format.yml

19 lines
529 B
YAML
Raw Normal View History

2024-02-07 20:32:30 +00:00
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