Add shift by multiple constant #2822
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
| name: style check | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| formatting-check: | |
| name: Format check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - run: sudo apt install clang-format | |
| - run: | | |
| git fetch origin ${{ github.event.pull_request.base.sha }} | |
| git clang-format --diff ${{ github.event.pull_request.base.sha }} | tee diff.patch | |
| ! grep -q '^diff ' diff.patch | |
| inlining-check: | |
| runs-on: ubuntu-latest | |
| name: Check inline keyword usage | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - run: sudo apt install clang-tools | |
| - run: sh ./test/check_inline_specifier.sh . | |