Chore(deps): bump github/codeql-action from 7eb43b07886e77d5f743a800ad7a8a380f9f3ea3 to a880e53ace196b47e0797a3df224607ff5a52f96 #344
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
| # yamllint disable rule:line-length | |
| --- | |
| name: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone the repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: 3.x | |
| - name: Perform pre-commit checks | |
| uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 | |
| env: | |
| SKIP: no-commit-to-branch | |
| local-test: | |
| needs: pre-commit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone the repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Test the problem matcher | |
| id: expect-failure | |
| uses: ./ | |
| with: | |
| config_file: .markdownlintrc | |
| files: . | |
| rules: examples/rules/custom.js | |
| continue-on-error: true | |
| - name: Check the result of the problem matcher test | |
| if: ${{ steps.expect-failure.outcome != 'failure' }} | |
| run: | | |
| exit 1 | |
| - name: Test ignore_files | |
| uses: ./ | |
| with: | |
| config_file: .markdownlintrc | |
| files: . | |
| ignore_files: examples/ignore/* | |
| rules: examples/rules/custom.js | |
| - name: Test ignore_path | |
| uses: ./ | |
| with: | |
| config_file: .markdownlintrc | |
| files: . | |
| ignore_path: examples/.markdownlintignore | |
| rules: examples/rules/custom.js |