From 4117ec4df38c11834f606a428d0e64c83ae9fc6d Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Sun, 15 Oct 2023 15:57:49 -0400 Subject: [PATCH] Separate check index.html to its own job --- .github/workflows/lint-format.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 45bfc9ed85..1814ffe367 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -54,7 +54,7 @@ jobs: chmod +x gradlew ./gradlew spotlessCheck - clientformat: + client-lint-format: name: "PhotonClient Lint and Formatting" defaults: run: @@ -72,3 +72,10 @@ jobs: run: npm run lint-ci - name: Check Formatting run: npm run format-ci + server-index: + name: "Check server index.html not changed" + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Check index.html not changed + run: git --no-pager diff --exit-code origin/master photon-server/src/main/resources/web/index.html