feat: Add location addresses data from Korea #445 #14
Workflow file for this run
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: | |
- 'main' | |
paths: | |
- 'src/**/*.cpp' | |
- 'src/**/*.h' | |
- 'include/**/*.h' | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'src/**/*.cpp' | |
- 'src/**/*.h' | |
- 'include/**/*.h' | |
jobs: | |
check_formatting: | |
name: Check Code Formatting | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install clang-format | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y clang-format-18 | |
- name: Run clang-format | |
run: | | |
clang-format src/**/*.cpp src/**/*.h include/**/*.h -i -style=file | |
- name: Check for unformatted files | |
run: | | |
git diff --exit-code || (echo "Code is not formatted correctly" && exit 1) |