Use rb_utf8_str_new/rb_utf8_str_new_cstr to create UTF8 string (#950) #144
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: clang-format Check | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
paths: | |
- ".clang-format" | |
- ".github/workflows/clang-format.yml" | |
- "**/*.c" | |
- "**/*.h" | |
pull_request: | |
paths: | |
- ".clang-format" | |
- ".github/workflows/clang-format.yml" | |
- "**/*.c" | |
- "**/*.h" | |
jobs: | |
formatting-check: | |
name: Formatting Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run clang-format style check | |
uses: jidicula/clang-format-action@v4.14.0 | |
with: | |
clang-format-version: 16 |