fix TODO - skip spaces without memory alloc #506
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: 'Lint' | |
on: | |
- 'push' | |
- 'pull_request' | |
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 tests examples -iname "*.hh" -or -iname "*.cc" | xargs clang-format --dry-run --style=file --Werror' |