test: added y_combinator test
#11
Workflow file for this run
This file contains hidden or 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
| # Copyright (c) Brandon Pacewic | |
| # SPDX-License-Identifier: MIT | |
| name: Lint | |
| on: | |
| pull_request: | |
| branches: | |
| - mega | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check Formatting | |
| run: | | |
| find cpl/inc cpl/src tests/cpl -regex '.*\.\(cpp\|h\|hpp\)' -exec clang-format -i --style=file {} + | |
| git diff --exit-code || (echo 'Formatting issues found. Please run clang-format.' && exit 1) |