From d5e1bc28e9348764ec99db8453c4629eab2a9c5a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 5 Dec 2023 08:33:56 -0800 Subject: [PATCH] tests: Run check-runners as part of the tests --- .github/workflows/tests.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7b3f408ee..c17d4f9a4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -182,7 +182,7 @@ jobs: exit "0" fi - snapshots: + check-snapshots: name: "🔍 Check for valid snapshot urls" runs-on: ubuntu-20.04 steps: @@ -193,6 +193,17 @@ jobs: - name: Check for valid snapshot urls run: ./tools/check-snapshots --errors-only . + check-runners: + name: "🔍 Check for missing or unused runner repos" + runs-on: ubuntu-20.04 + steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + - name: Check for missing or unused runner repos + run: ./tools/check-runners + shellcheck: name: "🐚 Shellcheck" runs-on: ubuntu-20.04