Skip to content

Commit

Permalink
dedicated workflow for links-check
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven committed Feb 17, 2024
1 parent afd399d commit 67f4ec4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- if: runner.os == 'Linux'
name: Check markdown links
uses: gaurav-nelson/github-action-markdown-link-check@v1

- run: go mod download && go mod tidy && go mod verify
- run: git --no-pager diff --exit-code

Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: detect-broken-links
on:
push:
pull_request:

permissions:
contents: read

jobs:
check-links:
name: check-links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1

0 comments on commit 67f4ec4

Please sign in to comment.