From fcb39fecce9f53db8830b2b562a19472b8d59a3e Mon Sep 17 00:00:00 2001 From: Patrick Stevens <3138005+Smaug123@users.noreply.github.com> Date: Wed, 24 Jan 2024 21:26:04 +0000 Subject: [PATCH 1/3] Fix link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1461ad8..2714d6f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # G-Research Fsharp Analyzers -![GitHub Workflow Status (event)](https://img.shields.io/github/actions/workflow/status/G-Research/fsharp-analyzers/main.yml?branch=main&label=CI&style=flat-square) +![GitHub Workflow Status (event)](https://img.shields.io/github/actions/workflow/status/G-Research/fsharp-analyzers/release.yml?branch=main&label=CI&style=flat-square) [![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/G-Research.FSharp.Analyzers?style=flat-square)](https://www.nuget.org/packages/G-Research.FSharp.Analyzers/absoluteLatest) A curated set of [Ionide SDK analyzers](https://ionide.io/FSharp.Analyzers.SDK/) for F#. From baa049b0500a5ac72f66b364078807af8807dfe4 Mon Sep 17 00:00:00 2001 From: Smaug123 Date: Wed, 24 Jan 2024 21:26:40 +0000 Subject: [PATCH 2/3] Add markdown-link-check --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93b14a4..34eb802 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,12 @@ permissions: id-token: write jobs: + markdown-link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + nuget-pack: runs-on: ubuntu-latest if: ${{ !github.event.repository.fork && github.ref == 'refs/heads/main' }} From 6acbf0c3dd3691ed0b2d6077bec0c60ba4d91b87 Mon Sep 17 00:00:00 2001 From: Smaug123 Date: Wed, 24 Jan 2024 21:43:48 +0000 Subject: [PATCH 3/3] Put the check on branches --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/release.yml | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d8fb23..d68df56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,12 @@ permissions: id-token: write jobs: + markdown-link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + ci: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34eb802..93b14a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,12 +10,6 @@ permissions: id-token: write jobs: - markdown-link-check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - uses: gaurav-nelson/github-action-markdown-link-check@v1 - nuget-pack: runs-on: ubuntu-latest if: ${{ !github.event.repository.fork && github.ref == 'refs/heads/main' }}