diff --git a/.github/workflows/CheckMarkdownLinks.yml b/.github/workflows/CheckMarkdownLinks.yml deleted file mode 100644 index 9268b46..0000000 --- a/.github/workflows/CheckMarkdownLinks.yml +++ /dev/null @@ -1,25 +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: "7 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..658f4a5 --- /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: "7 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: --exclude 'm24c08-r.pdf' + \ 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 4c7a05a..0000000 --- a/.github/workflows/mlc_config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "aliveStatusCodes": [429, 403, 200], - "timeout": "5s" -} diff --git a/README.md b/README.md index 608cb33..81d8e13 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # EEPROM_24C08_SWI2C Library [![Arduino Compile Sketches](https://github.com/Andy4495/EEPROM_24C08_SWI2C/actions/workflows/arduino-compile-sketches.yml/badge.svg)](https://github.com/Andy4495/EEPROM_24C08_SWI2C/actions/workflows/arduino-compile-sketches.yml) -[![Check Markdown Links](https://github.com/Andy4495/EEPROM_24C08_SWI2C/actions/workflows/CheckMarkdownLinks.yml/badge.svg)](https://github.com/Andy4495/EEPROM_24C08_SWI2C/actions/workflows/CheckMarkdownLinks.yml) +[![Check Markdown Links](https://github.com/Andy4495/EEPROM_24C08_SWI2C/actions/workflows/check-links.yml/badge.svg)](https://github.com/Andy4495/EEPROM_24C08_SWI2C/actions/workflows/check-links.yml) This library interfaces with the 24C08 external I2C 8Kx1 EEPROM. It uses a software I2C implementation, and can therefore use any 2 I/O pins for interfacing with the EEPROM. It only provides simple 1-byte read and write commands. It does not currently support sequential reads or writes. @@ -64,7 +64,6 @@ byte read(int address); The software and other files in this repository are released under what is commonly called the [MIT License][100]. See the file [`LICENSE`][101] in this repository. - [1]: https://www.st.com/resource/en/datasheet/m24c08-r.pdf [5]:https://github.com/Andy4495/SWI2C [100]: https://choosealicense.com/licenses/mit/