Skip to content

Commit 35931d7

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

File tree

2 files changed

+23
-33
lines changed

2 files changed

+23
-33
lines changed

.github/workflows/basic.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,26 @@ 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: |
189+
cp .github/workflows/package.json . && \
190+
cp .github/workflows/package-lock.json . && \
191+
npm install -g && \
192+
rm package.json && \
193+
rm package-lock.json
194+
195+
- name: Run markdownlint
196+
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)