Skip to content

Commit

Permalink
pin checkout + update actions-download-file & markdown-link-check
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper committed Feb 29, 2024
1 parent f1aab7d commit d6fb08a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Markdown Links Validation
on: [push, workflow_dispatch]

Expand All @@ -6,15 +7,16 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Checkout this repository
uses: actions/checkout@master
- name: Checkout this repository
uses: actions/checkout@v4.1.1

- name: Download .markdownlint.json
uses: suisei-cn/actions-download-file@v1.4.0
with:
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.markdownlinkcheck.json"
- name: Download .markdownlint.json
uses: suisei-cn/actions-download-file@v1.6.0
with:
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.markdownlinkcheck.json"

- name: Validate Links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: '.markdownlinkcheck.json'
- name: Validate Links
uses: gaurav-nelson/[email protected]
with:
use-quiet-mode: 'yes'
config-file: '.markdownlinkcheck.json'

0 comments on commit d6fb08a

Please sign in to comment.