refactor: use api v2 #456
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Format Check" | |
on: | |
pull_request: | |
paths: | |
- "src/**" | |
- ".github/workflows/format-check.yml" | |
push: | |
paths: | |
- "src/**" | |
- ".github/workflows/format-check.yml" | |
branches: | |
- main | |
- dev | |
jobs: | |
format-check: | |
name: Format Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: GCC Problem Matcher | |
uses: ammaraskar/[email protected] | |
- name: Clang Format Check | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '18' | |
check-path: 'src' |