Skip to content

Commit

Permalink
markdown linting added
Browse files Browse the repository at this point in the history
  • Loading branch information
kairveeehh committed Feb 26, 2025
1 parent d064995 commit c0cf3e5
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Markdown Lint

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run markdownlint with auto-fix
uses: DavidAnson/markdownlint-cli2-action@v19
with:
fix: true # Enable auto-fixing
globs: '**/*.md' # Specify the files to lint
config: '.markdownlint.json' # personal config file based over the choices as told
4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{

"MD013": false,
"MD033": false}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ as non-DHCP static addresses.

- Create `/etc/bootptab` like this. Make sure not to drop the "%%" header.

```
```bash
# bootptab
%%
# hostname hwtype hwaddr ipaddr bootfile
Expand All @@ -419,7 +419,7 @@ tmp-vm01 1 de:ad:be:ef:00:01 192.168.105.100

- Reload the DHCP daemon.

```
```bash
sudo /bin/launchctl kickstart -kp system/com.apple.bootpd
```

Expand Down
2 changes: 1 addition & 1 deletion test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test/perf.sh create -c 3 2>perf.log
Run all tests with shared and bridged modes, vz and qemu vm type,
using 1, 2, and 3 vms:

```
```bash
for v in vz qemu; do
for c in $(seq 3); do
test/perf.sh run -c $c -v $v 2>>perf.log
Expand Down

0 comments on commit c0cf3e5

Please sign in to comment.