From 814af612c990ba172ce0e9ae6af2fd812fc22795 Mon Sep 17 00:00:00 2001 From: Steve Hipwell Date: Wed, 26 Nov 2025 16:58:56 +0000 Subject: [PATCH] chore: Switch linter to rumdl Signed-off-by: Steve Hipwell --- .github/workflows/validate-site.yaml | 17 +++++++++++++---- .markdownlint.yaml | 14 -------------- .rumdl.toml | 9 +++++++++ content/pages/about.md | 1 - justfile | 7 +++++-- 5 files changed, 27 insertions(+), 21 deletions(-) delete mode 100644 .markdownlint.yaml create mode 100644 .rumdl.toml diff --git a/.github/workflows/validate-site.yaml b/.github/workflows/validate-site.yaml index 5e2bef9..0b3bdd1 100644 --- a/.github/workflows/validate-site.yaml +++ b/.github/workflows/validate-site.yaml @@ -28,11 +28,20 @@ jobs: with: fetch-depth: 0 - - name: Run markdownlint check - uses: DavidAnson/markdownlint-cli2-action@992badcdf24e3b8eb7e87ff9287fe931bcb00c6e # v20.0.0 + - name: Install rumdl + uses: action-stars/install-tool-from-github-release@1fa61c3bea52eca3bcdb1f5c961a3b113fe7fa54 # v0.2.6 with: - config: .markdownlint.yaml - globs: "**/*.md" + github_token: ${{ github.token }} + owner: rvben + repository: rumdl + filename_format: "{name}-v{version}-{arch}-{os}.{ext}" + arch_amd64: x86_64-unknown + os_linux: linux-gnu + check_command: rumdl --version + version: latest + + - name: Lint + run: rumdl check --output-format github . - name: Setup Pages id: pages diff --git a/.markdownlint.yaml b/.markdownlint.yaml deleted file mode 100644 index d845fd2..0000000 --- a/.markdownlint.yaml +++ /dev/null @@ -1,14 +0,0 @@ -MD013: false -MD024: - siblings_only: true -MD028: false -MD033: - allowed_elements: - - a - - br - - details - - i - - p - - summary - - sub - - sup diff --git a/.rumdl.toml b/.rumdl.toml new file mode 100644 index 0000000..434f0f8 --- /dev/null +++ b/.rumdl.toml @@ -0,0 +1,9 @@ +[global] +disable = ["MD028", "MD013"] + +[MD024] +siblings-only = true + +[MD033] +allowed-elements = ["a", "br", "details", "i", "p", "summary", "sub", "sup"] + diff --git a/content/pages/about.md b/content/pages/about.md index 7da36df..bc7dcbb 100644 --- a/content/pages/about.md +++ b/content/pages/about.md @@ -2,7 +2,6 @@ title: About --- - I'm Steve; I'm a bit of a technology nerd primarily focusing on Kubernetes, platforms and the adjacent technologies; but I have a broad range of interests and I often find myself nerd-sniped by something new and interesting on [Hacker News](https://news.ycombinator.com/) or [Lobsters](https://lobste.rs/). I have worked in the technology industry since 2005 and I like to think that I'm a comb shaped engineer; I have a broad range of experience and knowledge but I also have a few areas where I have deep expertise. I regularly contribute to multiple diverse OSS projects, I maintain a number of personal OSS projects on GitHub, and I have a couple of GitHub orgs where I'm attempting to build a community ([Action Stars](https://github.com/action-stars) & [Terr4m](https://github.com/terr4m)). diff --git a/justfile b/justfile index 466b763..bf2dce9 100644 --- a/justfile +++ b/justfile @@ -3,8 +3,11 @@ set windows-shell := ["pwsh", "-NoLogo", "-Command"] default: just --list -markdownlint: - npm exec markdownlint-cli2 --yes -- --fix "**/*.{md,markdown}" +fmt: + rumdl fmt --fix . + +lint: + rumdl check . build: hugo build --gc --minify --environment production