Skip to content

Lint Markdown / Toml #208

Lint Markdown / Toml

Lint Markdown / Toml #208

Workflow file for this run

name: Lint Markdown / Toml
on:
pull_request:
push:
branches: [main]
merge_group:
types: [checks_requested]
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR. Ensures that
# we don't waste CI time, and returns results quicker https://github.com/jonhoo/rust-ci-conf/pull/5
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dprint/[email protected]
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()"