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 c452a8d commit b9a54b6
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 28 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: "32 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.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# OneMsTaskTimer Library

[![Arduino Compile Sketches](https://github.com/Andy4495/OneMsTaskTimer/actions/workflows/arduino-compile-sketches.yml/badge.svg)](https://github.com/Andy4495/OneMsTaskTimer/actions/workflows/arduino-compile-sketches.yml)
[![Check Markdown Links](https://github.com/Andy4495/OneMsTaskTimer/actions/workflows/CheckMarkdownLinks.yml/badge.svg)](https://github.com/Andy4495/OneMsTaskTimer/actions/workflows/CheckMarkdownLinks.yml)
[![Check Markdown Links](https://github.com/Andy4495/OneMsTaskTimer/actions/workflows/check-links.yml/badge.svg)](https://github.com/Andy4495/OneMsTaskTimer/actions/workflows/check-links.yml)

This is a copy of the [OneMsTaskTimer library][4] that is included with the [Energia application][1].

Expand Down

0 comments on commit b9a54b6

Please sign in to comment.