Skip to content

Commit 1abc0cf

Browse files
authored
Merge pull request #77 from xt0rted/markdown
Add markdownlint
2 parents 7d992b4 + b952fa7 commit 1abc0cf

File tree

6 files changed

+555
-4
lines changed

6 files changed

+555
-4
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@ env:
1515
CONFIGURATION: Release
1616

1717
jobs:
18+
lint-markdown:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Check out repository
23+
uses: actions/[email protected]
24+
25+
- name: Install Node
26+
uses: actions/[email protected]
27+
with:
28+
node-version: 18
29+
30+
- uses: xt0rted/[email protected]
31+
32+
- run: npm ci
33+
34+
- run: npm test
35+
1836
build:
1937
runs-on: ${{ matrix.os }}
2038

@@ -73,7 +91,9 @@ jobs:
7391
path: ./coverage/*.trx
7492

7593
integration:
76-
needs: build
94+
needs:
95+
- build
96+
- lint-markdown
7797

7898
runs-on: ${{ matrix.os }}
7999

.markdownlint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"MD013": false,
3-
"MD024": false
3+
"MD024": false,
4+
"MD033": false
45
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dotnet tool install run-script
2727
2828
## Keeping current
2929

30-
Tools like [Dependabot](https://github.com/apps/dependabot) (https://github.com/github/feedback/discussions/13825) and [Renovate](https://github.com/marketplace/renovate) don't currently support updating dotnet local tools.
30+
Tools like [Dependabot](https://github.com/github/feedback/discussions/13825) and [Renovate](https://github.com/marketplace/renovate) don't currently support updating dotnet local tools.
3131
One way to automate this is to use a [GitHub Actions workflow](https://github.com/xt0rted/dotnet-tool-update-test) to check for updates and create PRs when new versions are available, which is what this repo does.
3232

3333
## Options

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Or code coverage can be collected by calling:
3434
> dotnet r test:coverage
3535
```
3636

37-
### What this isn't
37+
## What this isn't
3838

3939
This tool is not a replacement for a more robust build tool like [Cake](https://cakebuild.net/) or [Fake](https://fake.build/).
4040
Instead it's meant to be used as a way to more easily call them by defining a common set of commands like `clean`, `build`, `test`, `package`, or `publish` that can be added to all of your projects without the user knowing, or caring, how they work or what they do.

0 commit comments

Comments
 (0)