From 4bd6260df15d278faa228e635a4f6ddae480f5b1 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Sun, 25 Dec 2022 10:45:56 +0100 Subject: [PATCH 1/4] chore: Update test snapshots in dictionary workflow --- .github/workflows/update-dictionaries.yml | 25 +++-------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/.github/workflows/update-dictionaries.yml b/.github/workflows/update-dictionaries.yml index 320c7a03b5d..177b9297361 100644 --- a/.github/workflows/update-dictionaries.yml +++ b/.github/workflows/update-dictionaries.yml @@ -217,7 +217,6 @@ jobs: if: ${{ needs.check-dictionaries.outputs.patch }} runs-on: ubuntu-latest needs: - - build - calc-ref - check-dictionaries @@ -226,11 +225,6 @@ jobs: PATCH: ${{ needs.check-dictionaries.outputs.patch }} steps: - - name: Build Results - run: | - echo "key: ${{ needs.build.outputs.key }}" - echo "path: ${{ needs.build.outputs.path }}" - - name: Checkout uses: actions/checkout@v3 with: @@ -251,19 +245,10 @@ jobs: - run: pnpm -v - - name: Cache Build - id: step-cache-build - uses: actions/cache@v3 - with: - key: ${{ needs.build.outputs.key }} - path: ${{ needs.build.outputs.path }} - - - name: Cached Results + - name: Install and Build run: | - echo Build Cache: ${{ steps.step-cache-build.outputs.cache-hit && 'Hit' || 'Miss' }} - - - name: Install - run: pnpm i + pnpm i + pnpm run build - name: Has pnpm has failed? if: ${{ failure() }} @@ -271,10 +256,6 @@ jobs: ls -alF /home/runner/.pnpm/_logs/*.log cat /home/runner/.pnpm/_logs/*.log - - name: Check Build - if: ${{ !steps.step-cache-build.outputs.cache-hit }} - run: exit 1 - - name: Update update-snapshots-only run: | pnpm run test:update-snapshots From 4e225fc9f3b4d79f9082499bd2951989c818004f Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Sun, 25 Dec 2022 10:56:00 +0100 Subject: [PATCH 2/4] Update update-dictionaries.yml --- .github/workflows/update-dictionaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-dictionaries.yml b/.github/workflows/update-dictionaries.yml index 177b9297361..9997e868b5e 100644 --- a/.github/workflows/update-dictionaries.yml +++ b/.github/workflows/update-dictionaries.yml @@ -263,7 +263,7 @@ jobs: - name: Store Update Snapshot Diff run: | mkdir temp || echo temp already exists - git diff integration-tests/config integration-tests/repositories integration-tests/snapshots > temp/update_snapshot.diff + git diff . > temp/update_snapshot.diff - name: store diff uses: actions/upload-artifact@v3 with: From 4eb4f93700a8019d6774b9a6b2ecc1db2f53c7e6 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Sun, 25 Dec 2022 11:09:36 +0100 Subject: [PATCH 3/4] Update update-dictionaries.yml --- .github/workflows/update-dictionaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-dictionaries.yml b/.github/workflows/update-dictionaries.yml index 9997e868b5e..95514041b33 100644 --- a/.github/workflows/update-dictionaries.yml +++ b/.github/workflows/update-dictionaries.yml @@ -263,7 +263,7 @@ jobs: - name: Store Update Snapshot Diff run: | mkdir temp || echo temp already exists - git diff . > temp/update_snapshot.diff + git diff packages > temp/update_snapshot.diff - name: store diff uses: actions/upload-artifact@v3 with: From de28b7194678f648dad8ae32fc51d24ea99bb4f1 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Sun, 25 Dec 2022 11:22:42 +0100 Subject: [PATCH 4/4] Update update-dictionaries.yml --- .github/workflows/update-dictionaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-dictionaries.yml b/.github/workflows/update-dictionaries.yml index 95514041b33..d8aa3675782 100644 --- a/.github/workflows/update-dictionaries.yml +++ b/.github/workflows/update-dictionaries.yml @@ -263,7 +263,7 @@ jobs: - name: Store Update Snapshot Diff run: | mkdir temp || echo temp already exists - git diff packages > temp/update_snapshot.diff + git diff packages/cspell packages/cspell-lib > temp/update_snapshot.diff - name: store diff uses: actions/upload-artifact@v3 with: