Add adserver banner links to README header #201
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: Simple CI | |
| on: [pull_request] | |
| jobs: | |
| run-ci: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| - name: Install clang-format | |
| run: sudo apt-get update && sudo apt-get install -y clang-format-15 | |
| - run: npm install | |
| - name: Check formatting | |
| env: | |
| CLANG_FORMAT: clang-format-15 | |
| run: | | |
| npm run format | |
| if [ -n "$(git status --porcelain --untracked-files=no)" ]; then | |
| echo "Code is not formatted. Run 'npm run format' and commit the changes." | |
| git diff | |
| exit 1 | |
| fi | |
| - run: npm run lint | |
| - name: C++ unit tests | |
| run: npm run test:cpp |