Files
Vita3K/.github/workflows/format.yml
T
Dicot0721 94d2a330e6 ci: Optimize format check workflow
- Use 'sparse-checkout' to fetch only the root files and 'vita3k' and 'tools' folder.
2026-06-02 20:08:57 -04:00

38 lines
645 B
YAML

name: Format Check
on:
push:
paths:
- .clang-format
- vita3k/**
- tools/**
pull_request:
paths:
- .clang-format
- vita3k/**
- tools/**
jobs:
format-check:
name: Format Check (${{ matrix.path }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
path:
- vita3k
- tools
steps:
- name: Checkout
uses: actions/checkout@v6
with:
sparse-checkout: ${{ matrix.path }}
- name: Format check
uses: jidicula/clang-format-action@v4.18.0
with:
check-path: ${{ matrix.path }}