From dfbcf2191542feb0a91341bc286730460f3198a8 Mon Sep 17 00:00:00 2001 From: Ashish Bhatia Date: Sun, 26 Mar 2023 21:37:30 -0700 Subject: [PATCH] Improve `validateLinks` job on GitHub CI (#174) --- .github/workflows/{test.yml => validate-links.yml} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename .github/workflows/{test.yml => validate-links.yml} (88%) diff --git a/.github/workflows/test.yml b/.github/workflows/validate-links.yml similarity index 88% rename from .github/workflows/test.yml rename to .github/workflows/validate-links.yml index ad9170c..761fd4e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/validate-links.yml @@ -39,7 +39,9 @@ jobs: key: ${{ runner.os }}-cargo-urlsup - name: Install urlsup - run: cargo install urlsup + # Check if the urlsup was already installed and retrieved + # from the cache in the previous step + run: command -v urlsup || cargo install urlsup - name: Validate links run: |