Skip to content

Commit

Permalink
feat(ci): Added urlchecker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinKennedy committed Oct 26, 2024
1 parent 83a7ee6 commit 764f485
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 3 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/urlchecker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: URLChecker

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
push:
branches:
- main

jobs:
urlchecker:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: urlcheck - doc directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: doc
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml

- name: urlcheck - lua directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: lua
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml

- name: urlcheck - plugin directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: plugin
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml

- name: urlcheck - scripts directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: scripts
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml

- name: urlcheck - spec directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: spec
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ A template repository used to create Neovim plugins.
- [LuaCATS](https://luals.github.io/wiki/annotations/) annotations and type-hints, everywhere
- [RSS feed support](tracking-updates)
- Built-in logging to stdout / files
- Unittests use the full power of native [busted](https://olivinelabs.com/busted)
- Unittests use the full power of native [busted](https://github.com/lunarmodules/busted)
- Automated testing matrix supports 6 Neovim/OS combinations
- neovim: `[v0.10.0, stable, nightly]`
- os: `[ubuntu-latest, macos-latest]`
Expand Down
3 changes: 2 additions & 1 deletion doc/news.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Notable changes since PluginTemplate 1.0
===============================================================================
NEW FEATURES *plugin-template-new-features*

Added llscheck.yml - A GitHub workflow that detects type annotation issues!
- Added llscheck.yml - A GitHub workflow that detects type annotation issues!
- Added urlchecker.yml - A GitHub workflow that finds broken URLs!


===============================================================================
Expand Down
2 changes: 1 addition & 1 deletion doc/plugin-template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ A template repository used to create Neovim plugins.
- LuaCATS <https://luals.github.io/wiki/annotations/>annotations and type-hints, everywhere
- RSS feed support <tracking-updates>
- Built-in logging to stdout / files
- Unittests use the full power of native busted <https://olivinelabs.com/busted>
- Unittests use the full power of native busted <https://github.com/lunarmodules/busted>
- Automated testing matrix supports 6 Neovim/OS combinations
- neovim: `[v0.10.0, stable, nightly]`
- os: `[ubuntu-latest, macos-latest]`
Expand Down

0 comments on commit 764f485

Please sign in to comment.