This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
chore(PxMesh): add polygon-based API #224
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: 'Lint' | |
on: 'push' | |
jobs: | |
format: | |
name: 'Formatting' | |
runs-on: 'ubuntu-latest' | |
container: | |
image: 'docker.io/ubuntu:latest' | |
steps: | |
- name: "Dependencies" | |
run: 'apt update && apt install -y git clang-format' | |
- uses: 'actions/checkout@v3' | |
with: | |
submodules: 'recursive' | |
- name: 'clang-format' | |
shell: 'bash' | |
run: 'find include src -iname "*.h" -or -iname "*.cc" | xargs clang-format --dry-run --style=file --Werror' |