Remove reliance on hardcoded user in ci (#1170) #3179
This file contains 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: Lint | |
on: [push] | |
jobs: | |
clang-tidy: | |
strategy: | |
matrix: | |
host: [ubuntu-22.04] # latest | |
runs-on: ${{ matrix.host }} | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v3 | |
- name: clang-tidy lint | |
run: | | |
python3 -c "from urllib.request import urlretrieve; urlretrieve('https://d19elf31gohf1l.cloudfront.net/LATEST/builder.pyz?run=${{ env.RUN }}', 'builder')" | |
chmod a+x builder | |
./builder clang-tidy --project=aws-c-common |