Skip to content

chore: add nitro-sqlite banner #50

chore: add nitro-sqlite banner

chore: add nitro-sqlite banner #50

Workflow file for this run

name: Validate C++

Check failure on line 1 in .github/workflows/lint-cpp.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint-cpp.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
push:
branches:
- main
paths:
- ".github/workflows/lint-cpp.yml"
- "**/*.h"
- "**/*.hpp"
- "**/*.cpp"
- "**/*.c"
- "**/*.mm"
paths-ignore:
- "node_modules"
- "**/node_modules"
pull_request:
paths:
- ".github/workflows/lint-cpp.yml"
- "**/*.h"
- "**/*.hpp"
- "**/*.cpp"
- "**/*.c"
- "**/*.mm"
paths-ignore:
- "node_modules"
- "**/node_modules"
jobs:
lint:
name: Check clang-format
runs-on: ubuntu-latest
strategy:
matrix:
path:
- "package/android/src/main/cpp"
- "package/cpp"
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install npm dependencies (bun)
run: bun install
- name: Run clang-format style check
uses: jidicula/[email protected]
with:
clang-format-version: "18"
check-path: ${{ matrix.path }}