Merge pull request #30 from pbrucla/unit_testing #30
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 CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
# Fixes: https://github.com/actions/checkout/issues/135 | |
- name: Set git to use LF. | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- uses: actions/checkout@v3 | |
- name: Install dependencies. | |
run: sudo apt-get install -y clang-format | |
- name: Lint | |
run: make check |