Update CI to use problem matcher

This commit is contained in:
Yuta Katayama 2023-10-19 16:18:25 +09:00
parent a5b4b39f18
commit 9e09b20980
No known key found for this signature in database
GPG Key ID: E50AA6AA7A7BD4CA
4 changed files with 29 additions and 172 deletions

13
.github/archive-repo-matcher.json vendored Normal file
View File

@ -0,0 +1,13 @@
{
"problemMatcher": [
{
"owner": "archive-checker",
"pattern": [
{
"regexp": "^(https:\/\/github\.com\/.+\/.+)$",
"url": 1
}
]
}
]
}

View File

@ -1,7 +1,7 @@
#!/bin/bash
filename="$1"
output="archived_check_list.txt"
output="$2"
lines_per_chunk=100
if [ -e "$output" ]; then

View File

@ -17,15 +17,29 @@ jobs:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
apt update
apt-get install -y gh jq ca-certificates curl
- name: enable problem matcher
run: |
echo "::add-matcher::.github/archive-repo-matcher.json"
- run: |
grep '](https://github.com' [a-z]*.md | sed -re 's/^.*\]\(https:\/\/github.com\/([^\)]*).*/\1/' > /tmp/repos.txt
./.github/scripts/archive_check.sh /tmp/repos.txt
./.github/scripts/archive_check.sh /tmp/repos.txt archived_check_list.txt
env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- run: >
grep ":true\|:null" archived_check_list.txt | cut -d ":" -f 1 | sed 's/^/https:\/\/github.com\//'
- run: >
test $(grep ':true\|:null' archived_check_list.txt | wc -l) -le 0
- run: |
grep '](https://github.com' Archived.md | sed -re 's/^.*\]\(https:\/\/github.com\/([^\)]*).*/\1/' > /tmp/repos_archive.txt
./.github/scripts/archive_check.sh /tmp/repos_archive.txt archive_list.txt
env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- run: >
grep ":false" archive_list.txt | cut -d ":" -f 1 | sed 's/^/https:\/\/github.com\//'
- run: >
test $(grep ':false' archive_list.txt | wc -l) -le 0
- name: Disable problem matcher
run: echo "::remove-matcher owner=archive-checker::"
# curl 429 too many requests
# - run: >
# grep '](https://github.com' README.md [a-z]*.md |

View File

@ -1,170 +0,0 @@
vxpm/rust-expand-macro.nvim:true
linty-org/key-menu.nvim:null
linty-org/readline.nvim:null
l-bowman/timewarp.nvim:null
kiet231199/winbar.nvim:null
cljoly/path-trie.nvim:true
pogyomo/play.nvim:true
xixiaofinland/force.nvim:null
lpoto/buffers.nvim:null
mcookly/rosetta.nvim:null
jt-ziolo/nvim-bullseye:true
WhoIsSethDaniel/neotest-consumer-cmdline.nvim:null
caenrique/journal.nvim:true
smjonas/duplicate.nvim:true
jinzhongjia/PS_manager.nvim:null
reanxp/nvim-window:null
ivanjermakov/oh-no-my-buffers.nvim:null
jcdickinson/wpm.nvim:true
jcdickinson/http.nvim:true
tacogips/run-jupyter.nvim:true
mrs4ndman/keymaster.nvim:null
td0m/go-order.nvim:true
dkostmii/keymap.nvim:null
AbaoFromCUG/async-runner.nvim:null
RAprogramm/neviraide-dashboard.nvim:null
zsugabubus/crazy8.nvim:true
dinhhuy258/sfm-fs.nvim:true
whleucka/soprano.nvim:null
ethancarlsson/nvim-treesitter-hurl:null
kdheepak/tabline.nvim:true
aaronbartholomew/inka.nvim:null
kaiuri/pastel.nvim:null
jose-elias-alvarez/typescript.nvim:true
roobert/neoscroll-motions.nvim:true
jose-elias-alvarez/null-ls.nvim:true
jose-elias-alvarez/null-ls.nvim:true
jose-elias-alvarez/null-ls.nvim:true
jose-elias-alvarez/null-ls.nvim:true
jose-elias-alvarez/null-ls.nvim:true
jose-elias-alvarez/null-ls.nvim:true
v1nh1shungry/cppreference.nvim:true
Pocco81/AbbrevMan.nvim:null
ethanholz/nvim-lastplace:true
Cyuria/discord.nvim:true
haolian9/fixends.nvim:true
D4NZ-jpg/study.nvim:null
LinArcX/telescope-command-palette.nvim:true
willothy/nvim-utils:true
avocadeys/nvim-lualine-components:null
BenceBakos/plantuml.nvim:null
imLew/nvim-align-mode:null
girishji/cstatusline.nvim:null
mbrea-c/mbc-lualine.nvim:true
nvimdev/coman.nvim:true
distek/session-tabs.nvim:null
mrjones2014/nvim-ts-rainbow:true
Tsuunen/compile_run.nvim:null
lpoto/simplebar.nvim:null
Rejyr/root-switcher.nvim:null
jefromyers/python_usain.nvim:null
doums/lsp_spinner.nvim:null
madskjeldgaard/supercollider-h4x-nvim:true
princejoogie/mason-formatter.nvim:true
vigoux/architext.nvim:true
Diogo-ss/nvim-async:null
pandasoli/discord-presence.nvim:null
lewis6991/impatient.nvim:true
nat-418/slowly.nvim:true
Jxstxs/jaw.nvim:null
medwatt/tabby.nvim:null
hieutran21198/telescope-chamber.nvim:null
Jlll1/split.nvim:null
wesleimp/mix-credo.nvim:null
meuter/hex-static.nvim:true
NvRose/statusline.nvim:null
quocnho/nvim-pqf:null
shinobu-uwu/rsync.nvim:null
nvimdev/dashboard-imageview:null
lpoto/actions.nvim:true
thesafdarawan/lazy-loader.nvim:true
NvRose/tabline.nvim:null
glepnir/indent-guides.nvim:null
kurotych/crabix-desktop.nvim:true
catgoose/tmux-tasks.nvim:null
njeromin/line.nvim:null
NewDawn0/rgpt.nvim:null
EdvinVikstrom/filetree.nvim:null
snaeil/apeoplescalendar.nvim:null
phaazon/mind.nvim:true
noib3/nvim-compleet:true
mrjones2014/winbarbar.nvim:true
swarn/semanticist.nvim:true
nyngwang/fzf-lua-projections.nvim:true
Dax89/ide.nvim:true
railnova/luamate.nvim:null
folke/lsp-colors.nvim:true
DasGandlaf/cmp-nvim-autohotkey:null
oberblastmeister/neuron.nvim:true
Famiu/feline.nvim:true
lazytanuki/nvim-mapper:true
jameshiew/nvim-magic:true
nyngwang/NeoRoot.lua:true
tenfyzhong/loc-quic-action.nvim:null
loichyan/spark.nvim:true
caosistema/nvim-modelizer:null
caosistema/nvim-remains:null
caosistema/nvim-spotlight:null
distek/aftermath.nvim:null
NvRose/terminal.nvim:null
shavelskiy/statusline.nvim:null
barrett-ruth/emmet.nvim:null
hermitmaster/resume.nvim:null
rzksobhy27/lsp_extras.nvim:null
lcfd/py.nvim:null
shavelskiy/tabline.nvim:null
NvRose/resize.nvim:null
miffi/asyn.nvim:null
hermitmaster/numbertoggle.nvim:null
datwaft/bubbly.nvim:true
mrshmllow/document-color.nvim:true
CanKolay3499/CNvim:null
glepnir/mcc.nvim:null
roobert/tailwindcss-colorizer.nvim:null
PythonPizzaDE/neostart.nvim:null
shavelskiy/lsp-finder.nvim:null
shavelskiy/git-blame.nvim:null
MunifTanjim/exrc.nvim:true
zhang-stephen/nvim-lsp-loader:true
Alighorab/markdown.nvim:true
B4mbus/nvim-headband:true
javorfo/nvim-wildcat:null
ec965/bulb.nvim:true
haolian9/folding.nvim:true
haolian9/lingboweibu.nvim:null
lpoto/workspace.nvim:null
juiceDeLemon/time.nvim:null
samodostal/copilot-client.lua:true
an-otter-world/gerard.nvim:null
nvisiom/unqualified.nvim:null
williamboman/nvim-lsp-installer:true
hn275/icee.nvim:null
shurizzle/inlay-hints.nvim:true
rhaolian9/reveal.nvim:null
MunifTanjim/neobar.nvim:null
vigoux/azy.nvim:true
vigoux/complementree.nvim:true
hn275/chtsh.nvim:null
TornaxO7/tree-setter:true
pyrho/nerveux.nvim:true
numToStr/Surround.nvim:true
uga-rosa/sticky-header.nvim:true
lewis6991/spellsitter.nvim:true
Jxstxs/config-switcher.nvim:null
mjlbach/babelfish.nvim:null
aloussase/telescope-gradle.nvim:null
senkentarou/godch.nvim:null
utilyre/spoon.nvim:true
stumash/sequence.nvim:null
Pocco81/NoCLC.nvim:null
kevinhwang91/nvim-hclipboard:true
nullchilly/cp.nvim:true
henriquehbr/nvim-startup.lua:true
henriquehbr/ataraxis.lua:true
jose-elias-alvarez/nvim-lsp-ts-utils:true
nvoid-lua/nvoid:true
ashincoder/StarVim:true
ygm2/rooter.nvim:true
SmiteshP/nvim-gps:true
nvim-lua/lsp_extensions.nvim:true
glepnir/prodoc.nvim:null