Bump actions-gh-release to v2.2.1 #199
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
# yamllint disable rule:line-length | |
--- | |
name: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: 3.x | |
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0 | |
local-test: | |
needs: pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Test problem matcher | |
id: expect-failure | |
uses: ./ | |
with: | |
config_file: .markdownlintrc | |
files: . | |
rules: examples/rules/custom.js | |
continue-on-error: true | |
- 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 |