Skip to content

Commit b02de7f

Browse files
author
Jan Unger
committed
feat(ci): added Markdownlint job to lint all md files.
also removed merge conflicts
1 parent e4a1444 commit b02de7f

File tree

4 files changed

+39
-8
lines changed

4 files changed

+39
-8
lines changed

.github/workflows/ci-android.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,17 @@ on:
1919
type: string
2020
workflow_call:
2121

22-
jobs:
22+
jobs:
23+
linting:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v3
28+
- name: use DavidAnson/markdownlint-action
29+
uses: DavidAnson/markdownlint-cli2-action@v21
30+
continue-on-error: true
31+
with:
32+
globs: '**/*.md'
2333
build-debug-apk:
2434
runs-on: ubuntu-latest
2535
steps:

.github/workflows/ci-linux-rust.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ on:
1212
workflow_dispatch:
1313

1414
jobs:
15+
linting:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v3
20+
- name: use DavidAnson/markdownlint-action
21+
uses: DavidAnson/markdownlint-cli2-action@v21
22+
continue-on-error: true
23+
with:
24+
globs: '**/*.md'
1525
build:
1626
runs-on: ubuntu-latest
1727

.github/workflows/ci-linux.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ on:
77
# - '*'
88

99
jobs:
10+
linting:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
- name: use DavidAnson/markdownlint-action
16+
uses: DavidAnson/markdownlint-cli2-action@v21
17+
continue-on-error: true
18+
with:
19+
globs: '**/*.md'
20+
1021
build-linux:
1122
runs-on: ubuntu-latest
1223

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![LibrePods Banner](/imgs/banner.png)
1+
![LibrePods Banner](./imgs/banner.png)
22

33
## What is LibrePods?
44

@@ -54,7 +54,7 @@ located in the `linux` folder.
5454
Next, compile the generated Makefiles created by the previous step. After the compilation finishes, you should have a
5555
`librepods` executable. Running this file completes the setup and starts LibrePods.
5656

57-
If you need more help, check the [Linux README](/linux/README.md), which provides a more detailed,
57+
If you need more help, check the [Linux README](./linux/README.md), which provides a more detailed,
5858
copy-and-paste-ready instruction. (doesn't have many features, maintainer didn't have time to work on it)
5959

6060
new version in development ([#241](https://github.com/kavishdevar/librepods/pull/241))
@@ -67,11 +67,11 @@ new version in development ([#241](https://github.com/kavishdevar/librepods/pull
6767

6868
| | | |
6969
| -------------------------------------------------------------------------------------- | ------------------------------------------------- | --------------------------------------------------------------------------- |
70-
| ![Settings 1](/android/imgs/settings-1.png) | ![Settings 2](/android/imgs/settings-2.png) | ![Debug Screen](/android/imgs/debug.png) |
71-
| ![Battery Notification and QS Tile for NC Mode](/android/imgs/notification-and-qs.png) | ![Popup](/android/imgs/popup.png) | ![Head Tracking and Gestures](/android/imgs/head-tracking-and-gestures.png) |
72-
| ![Long Press Configuration](/android/imgs/long-press.png) | ![Widget](/android/imgs/widget.png) | ![Customizations 1](/android/imgs/customizations-1.png) |
73-
| ![Customizations 2](/android/imgs/customizations-2.png) | ![accessibility](/android/imgs/accessibility.png) | ![transparency](/android/imgs/transparency.png) |
74-
| ![hearing-aid](/android/imgs/hearing-aid.png) | ![hearing-test](/android/imgs/hearing-test.png) | ![hearing-aid-adjustments](/android/imgs/hearing-aid-adjustments.png) |
70+
| ![Settings 1](./android/imgs/settings-1.png) | ![Settings 2](./android/imgs/settings-2.png) | ![Debug Screen](./android/imgs/debug.png) |
71+
| ![Battery Notification and QS Tile for NC Mode](./android/imgs/notification-and-qs.png) | ![Popup](./android/imgs/popup.png) | ![Head Tracking and Gestures](./android/imgs/head-tracking-and-gestures.png) |
72+
| ![Long Press Configuration](./android/imgs/long-press.png) | ![Widget](./android/imgs/widget.png) | ![Customizations 1](./android/imgs/customizations-1.png) |
73+
| ![Customizations 2](./android/imgs/customizations-2.png) | ![accessibility](./android/imgs/accessibility.png) | ![transparency](./android/imgs/transparency.png) |
74+
| ![hearing-aid](./android/imgs/hearing-aid.png) | ![hearing-test](./android/imgs/hearing-test.png) | ![hearing-aid-adjustments](./android/imgs/hearing-aid-adjustments.png) |
7575

7676

7777
here's a very unprofessional demo video

0 commit comments

Comments
 (0)