Skip to content

Commit 592f563

Browse files
committed
🔧 Improve CI workflow and documentation links
Improve CI workflow and documentation links - Fix selene installation to use selene-light-linux.zip instead of selene-linux.zip and extract using unzip command - Fix stylua installation to use stylua-linux-x86_64.zip and extract using unzip command - Add continue-on-error and warning reporting for broken link checks to prevent CI failures while still highlighting issues - Add link check ignore patterns for Twitter and VS Code Marketplace - Replace GitHub Release badge with GitHub Stars badge in README - Update markdown link check configuration to ignore additional external domains
1 parent e4acf09 commit 592f563

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

.github/markdown-link-check.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44
"pattern": "^https://via.placeholder.com"
55
},
66
{
7-
"pattern": "^https://github.com/hyperb1iss/lilac-nvim"
7+
"pattern": "^https://github.com/hyperb1iss/silkcircuit-nvim"
8+
},
9+
{
10+
"pattern": "^https://twitter.com"
11+
},
12+
{
13+
"pattern": "^https://marketplace.visualstudio.com"
814
}
915
],
1016
"replacements": [

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515

1616
- name: Install selene
1717
run: |
18-
wget -qO- https://github.com/Kampfkarren/selene/releases/latest/download/selene-linux.zip | busybox unzip -
18+
wget -O selene.zip https://github.com/Kampfkarren/selene/releases/latest/download/selene-light-linux.zip
19+
unzip selene.zip
1920
chmod +x ./selene
2021
sudo mv ./selene /usr/local/bin/
2122
@@ -24,7 +25,8 @@ jobs:
2425

2526
- name: Install stylua
2627
run: |
27-
wget -qO- https://github.com/JohnnyMorganz/StyLua/releases/latest/download/stylua-linux.zip | busybox unzip -
28+
wget -O stylua.zip https://github.com/JohnnyMorganz/StyLua/releases/latest/download/stylua-linux-x86_64.zip
29+
unzip stylua.zip
2830
chmod +x ./stylua
2931
sudo mv ./stylua /usr/local/bin/
3032
@@ -76,10 +78,18 @@ jobs:
7678

7779
- name: Check for broken links
7880
uses: gaurav-nelson/github-action-markdown-link-check@v1
81+
continue-on-error: true
82+
id: link-check
7983
with:
8084
use-verbose-mode: 'yes'
8185
config-file: '.github/markdown-link-check.json'
8286

87+
- name: Report link check results
88+
if: steps.link-check.outcome == 'failure'
89+
run: |
90+
echo "::warning::Broken links were found in markdown files. Please review the link check output above."
91+
echo "::warning::This is not blocking the CI, but should be fixed."
92+
8393
build:
8494
name: Build
8595
runs-on: ubuntu-latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![Neovim](https://img.shields.io/badge/Neovim-0.8+-e135ff?style=for-the-badge&logo=neovim&logoColor=white)](https://neovim.io/)
66
[![License](https://img.shields.io/badge/License-MIT-ff79c6?style=for-the-badge&logo=opensourceinitiative&logoColor=white)](https://opensource.org/licenses/MIT)
7-
[![GitHub Release](https://img.shields.io/github/release/hyperb1iss/silkcircuit-nvim.svg?style=for-the-badge&logo=github&logoColor=white&color=bd93f9)](https://github.com/hyperb1iss/silkcircuit-nvim/releases)
7+
[![GitHub Stars](https://img.shields.io/github/stars/hyperb1iss/silkcircuit-nvim?style=for-the-badge&logo=github&logoColor=white&color=bd93f9)](https://github.com/hyperb1iss/silkcircuit-nvim)
88
[![CI](https://img.shields.io/github/actions/workflow/status/hyperb1iss/silkcircuit-nvim/ci.yml?style=for-the-badge&logo=github-actions&logoColor=white&label=CI&color=50fa7b)](https://github.com/hyperb1iss/silkcircuit-nvim/actions)
99

1010
_A high-contrast theme featuring vibrant purples, electric pinks, and glowing accents_

0 commit comments

Comments
 (0)