Skip to content

Commit

Permalink
ci: 🤖 Add formatting check for Markdown
Browse files Browse the repository at this point in the history
Not sure this will work as intended
  • Loading branch information
AntwortEinesLebens committed Aug 19, 2024
1 parent 8561d1a commit 68e63be
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,25 @@ jobs:
components: rustfmt
- name: Check Rust formatting
run: cargo fmt -v --all -- --check
remark:
name: Check Markdown formatting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install remark
run: pnpm install remark-cli
- name: Check Markdown formatting
run: remark . -o
taplo:
name: Check TOML formatting
runs-on: ubuntu-latest
Expand Down

0 comments on commit 68e63be

Please sign in to comment.