diff --git a/.github/workflows/CheckMarkdownLinks.yml b/.github/workflows/CheckMarkdownLinks.yml deleted file mode 100644 index 530e0cf..0000000 --- a/.github/workflows/CheckMarkdownLinks.yml +++ /dev/null @@ -1,24 +0,0 @@ -# GitHub Action from: https://github.com/gaurav-nelson/github-action-markdown-link-check -# Uses code from: https://github.com/tcort/markdown-link-check -name: Check Markdown 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 - -jobs: - markdown-link-check: - name: call-markdown-link-check-workflow - uses: Andy4495/.github/.github/workflows/CheckMarkdownLinks.yml@main - with: - message: ${{ inputs.message }} \ No newline at end of file diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml new file mode 100644 index 0000000..657c3ac --- /dev/null +++ b/.github/workflows/check-links.yml @@ -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: + \ No newline at end of file diff --git a/.github/workflows/mlc_config.json b/.github/workflows/mlc_config.json deleted file mode 100644 index f18b248..0000000 --- a/.github/workflows/mlc_config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "aliveStatusCodes": [429, 403, 200] -} diff --git a/README.md b/README.md index 1872d48..05a001a 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 - [3]: https://nicomedes.assistedcoding.eu/#/app/makefilegen [4]: https://clrhome.org/table/ [5]: http://z80.info/index.html