Skip to content

Use Napi promise instead of callback #16

Use Napi promise instead of callback

Use Napi promise instead of callback #16

Workflow file for this run

name: Check code style
on:
push:
paths:
- .clang-format
- '*.cpp'
pull_request:
paths:
- .clang-format
- '*.cpp'
jobs:
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install clang-format
run: sudo apt update -q && sudo apt install -yq clang-format
- name: Check code style
run: clang-format -n -style=file --Werror *.cpp