| 1 | name: Lint |
| 2 | |
| 3 | on: [push] |
| 4 | |
| 5 | jobs: |
| 6 | clang-tidy: |
| 7 | |
| 8 | strategy: |
| 9 | matrix: |
| 10 | host: [ubuntu-22.04] # latest |
| 11 | |
| 12 | runs-on: ${{ matrix.host }} |
| 13 | |
| 14 | steps: |
| 15 | - name: Checkout Sources |
| 16 | uses: actions/checkout@v6 |
| 17 | |
| 18 | - name: clang-tidy lint |
| 19 | run: | |
| 20 | python3 -c "from urllib.request import urlretrieve; urlretrieve('https://d19elf31gohf1l.cloudfront.net/LATEST/builder.pyz?run=${{ env.RUN }}', 'builder')" |
| 21 | chmod a+x builder |
| 22 | ./builder clang-tidy --project=aws-c-common |