Skip to content

Commit 10c1e3e

Browse files
committed
Move markdownlint job to basic.yml and remove markdownlint.yml
Signed-off-by: Sumit Giri <[email protected]>
1 parent 3af9f90 commit 10c1e3e

File tree

2 files changed

+18
-33
lines changed

2 files changed

+18
-33
lines changed

.github/workflows/basic.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,21 @@ jobs:
171171
run: nix flake check --no-build # check for accurate syntax
172172
- name: Check that the flake builds
173173
run: nix build # check that the build runs
174+
175+
markdownlint:
176+
name: Check Markdown formatting
177+
runs-on: ubuntu-latest
178+
steps:
179+
- name: Checkout repo
180+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
181+
182+
- name: Set up Node.js
183+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # pin@v4
184+
with:
185+
node-version: '18'
186+
187+
- name: Install markdownlint-cli
188+
run: npm install -g [email protected]
189+
190+
- name: Run markdownlint
191+
run: markdownlint '**/*.md' --ignore node_modules

.github/workflows/markdownlint.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)