Skip to content

Commit

Permalink
Switch to lychee for link checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy4495 committed Sep 30, 2024
1 parent 03967a8 commit dfb8071
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 29 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/CheckMarkdownLinks.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# https://github.com/lycheeverse/lychee-action
# https://github.com/lycheeverse/lychee
name: Check Links

on:
push:
schedule:
# Run monthly
# GitHub actions uses UTC for time zone
# crontab format: minute hour day-of-month month day-of-week
- cron: "8 4 4 * *"
workflow_dispatch:
inputs:
message:
description: Message to display in job summary
required: false
type: string
override-args:
description: Override default arguments (see https://github.com/lycheeverse/lychee#commandline-parameters)
required: false
type: string

jobs:
link-checker:
name: Call Link Checker
uses: Andy4495/.github/.github/workflows/check-links.yml@main
with:
message: ${{ inputs.message }}
override-args: ${{ inputs.override-args }}
# Use the following to exclude certain URLs from the check. Need to include "--exclude" in the definition.
# For example, --exclude '43oh.com'
exclude:

3 changes: 0 additions & 3 deletions .github/workflows/mlc_config.json

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 8-bit Emulator

[![Build](https://github.com/Andy4495/emulator-8-bit/actions/workflows/Build.yml/badge.svg)](https://github.com/Andy4495/emulator-8-bit/actions/workflows/Build.yml)
[![Check Markdown Links](https://github.com/Andy4495/emulator-8-bit/actions/workflows/CheckMarkdownLinks.yml/badge.svg)](https://github.com/Andy4495/emulator-8-bit/actions/workflows/CheckMarkdownLinks.yml)
[![Check Markdown Links](https://github.com/Andy4495/emulator-8-bit/actions/workflows/check-links.yml/badge.svg)](https://github.com/Andy4495/emulator-8-bit/actions/workflows/check-links.yml)
[![Test Disassembler](https://github.com/Andy4495/emulator-8-bit/actions/workflows/TestDisassembler.yml/badge.svg)](https://github.com/Andy4495/emulator-8-bit/actions/workflows/TestDisassembler.yml)
[![Test Opcodes](https://github.com/Andy4495/emulator-8-bit/actions/workflows/TestOpcodes.yml/badge.svg)](https://github.com/Andy4495/emulator-8-bit/actions/workflows/TestOpcodes.yml)

Expand Down Expand Up @@ -207,7 +207,6 @@ The `z88dk-z80asm` assembler is distributed under the [Clarified Artistic Licens
The other software and files in this repository are released under what is commonly called the [MIT License][100]. See the file [`LICENSE.txt`][101] in this repository.

[2]: https://www.gnu.org/software/make/manual/make.html
<!-- markdown-link-check-disable-next-line -->
[3]: https://nicomedes.assistedcoding.eu/#/app/makefilegen
[4]: https://clrhome.org/table/
[5]: http://z80.info/index.html
Expand Down

0 comments on commit dfb8071

Please sign in to comment.