1name: Linting libpng 2 3on: 4 push: 5 branches: 6 - libpng16 7 pull_request: 8 branches: 9 - libpng16 10 11jobs: 12 lint: 13 runs-on: ubuntu-latest 14 timeout-minutes: 5 15 steps: 16 - name: Set up the cache 17 uses: actions/cache@v4 18 with: 19 path: ~/.cache/pip 20 key: ${{ runner.os }}-pip-${{ hashFiles('**/pip.txt') }} 21 restore-keys: ${{ runner.os }}-pip- 22 - name: Install yamllint 23 run: pip install yamllint 24 - name: Check out the code 25 uses: actions/checkout@v4 26 - name: Run the linting script 27 run: bash ./ci/ci_lint.sh 28