ci: Fix the reporting in ci_lint.sh #6
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: Linting libpng | |
on: | |
push: | |
branches: | |
- libpng16 | |
pull_request: | |
branches: | |
- libpng16 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Set up the cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/pip.txt') }} | |
restore-keys: ${{ runner.os }}-pip- | |
- name: Install yamllint | |
run: pip install yamllint | |
- name: Check out the code | |
uses: actions/checkout@v4 | |
- name: Run the linting script | |
run: bash ./ci/ci_lint.sh |