Skip to content

feat: Rebrand project to react-native-nitro-sqlite #24

feat: Rebrand project to react-native-nitro-sqlite

feat: Rebrand project to react-native-nitro-sqlite #24

Workflow file for this run

name: Validate C++
on:
push:
branches:
- main
paths:
- ".github/workflows/lint-cpp.yml"
- "**/*.h"
- "**/*.hpp"
- "**/*.cpp"
- "**/*.c"
- "**/*.mm"
pull_request:
paths:
- ".github/workflows/lint-cpp.yml"
- "**/*.h"
- "**/*.hpp"
- "**/*.cpp"
- "**/*.c"
- "**/*.mm"
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 }}