Merge pull request #216 from supermarsx/smx/fix-lint-error-for-each-n… #329
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
| name: CI | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up build environment | |
| uses: aminya/setup-cpp@v1 | |
| - name: Set up build2 | |
| uses: build2/setup-build2-github-action@v2 | |
| - name: Install dependencies | |
| run: ./scripts/install_deps.sh | |
| - name: Lint | |
| run: make lint | |
| - name: Test | |
| run: b test |