Clean up code (should be squashed with previous) - broken C tests (#66) #136
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 Code Base | |
on: [push] | |
jobs: | |
run-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Run Black (Python) | |
uses: psf/black@stable | |
with: | |
options: | | |
--verbose | |
--line-length=80 | |
--exclude /(\.github|\.git|\.venv|\.vscode)/ | |
src: "." | |
version: "22.3.0" | |
- name: Run clang-format (C) | |
uses: HorstBaerbel/[email protected] | |
# These are optional (defaults displayed) | |
with: | |
scandir: '.' | |
excludedirs: 'build,cmake,third-party' | |
extensions: 'c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx' | |
style: 'file' |