feat!: Add read-data-subset to CheckOptions; allow to check given trees #357
Workflow file for this run
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 Markdown / Toml | |
on: | |
pull_request: | |
paths: | |
- '**.json' | |
- '**.toml' | |
- '**.md' | |
- '**.yml' | |
- '**.yaml' | |
push: | |
branches: [main] | |
paths: | |
- '**.json' | |
- '**.toml' | |
- '**.md' | |
- '**.yml' | |
- '**.yaml' | |
merge_group: | |
types: [checks_requested] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- uses: dprint/check@2f1cf31537886c3bfb05591c031f7744e48ba8a1 # v2.2 | |
result: | |
name: Result (Style) | |
runs-on: ubuntu-latest | |
needs: | |
- style | |
steps: | |
- name: Mark the job as successful | |
run: exit 0 | |
if: success() | |
- name: Mark the job as unsuccessful | |
run: exit 1 | |
if: "!success()" |