From 3cfa9b3be67f39e644ec9cc31ab9b0c9637999da Mon Sep 17 00:00:00 2001 From: Frederik Hjorslev Poulsen Date: Sat, 4 Apr 2020 22:10:45 +0200 Subject: [PATCH] :bug: Dead links analyzer --- .github/workflows/ci.yml | 9 +++++---- DeadLinksAnalyzer.ps1 | 3 +-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf67971..e6ad0d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,7 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" - build: + analyze-readme: # The type of runner that the job will run on runs-on: ubuntu-latest @@ -25,7 +24,9 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - name: pester tests + - name: Analyze Links shell: pwsh run: | - ./DeadLinksAnalyzer.ps1 \ No newline at end of file + ./DeadLinksAnalyzer.ps1 + $deadlinks = Test-MarkdownLinks -Path ".\readme.md" + continue-on-error: true \ No newline at end of file diff --git a/DeadLinksAnalyzer.ps1 b/DeadLinksAnalyzer.ps1 index 9971e0b..53c83fa 100644 --- a/DeadLinksAnalyzer.ps1 +++ b/DeadLinksAnalyzer.ps1 @@ -23,5 +23,4 @@ } # Output urls return $unreachable -} -$deadlinks = Test-MarkdownLinks -Path ".\readme.md" \ No newline at end of file +} \ No newline at end of file