From a14ed5b6041358632126221393ae32a352e0f03a Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 11 Jun 2026 17:10:25 -0400 Subject: [PATCH 1/8] Bump CI dependencies --- .github/workflows/build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 98fe342..e562731 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,18 +6,18 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 - name: Install Dashing run: go install github.com/technosophos/dashing@latest - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: 3.13 @@ -26,12 +26,13 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt - - name: Build the docset + - name: Build the docsets run: | make - name: Upload the docsets - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: docset-bundle path: out/sublime-*.docset + if-no-files-found: error From 79692fbf0587a499a9d38e120ca5c303a7afb0ae Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 11 Jun 2026 17:30:26 -0400 Subject: [PATCH 2/8] Add a CI check for dirty CI dump --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e562731..cb382d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,8 +27,7 @@ jobs: pip install -r requirements.txt - name: Build the docsets - run: | - make + run: make - name: Upload the docsets uses: actions/upload-artifact@v7 @@ -36,3 +35,7 @@ jobs: name: docset-bundle path: out/sublime-*.docset if-no-files-found: error + + # Do this at the end to upload the zip anyway. + - name: Check for dirty DB dump + run: git diff-files --quiet -- resources/*.csv From 898447a3712c9bb9b1d87372ad7fc10a2331463b Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 11 Jun 2026 17:42:54 -0400 Subject: [PATCH 3/8] Print dirty DB files for CI --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb382d4..f240d9e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,4 +38,6 @@ jobs: # Do this at the end to upload the zip anyway. - name: Check for dirty DB dump - run: git diff-files --quiet -- resources/*.csv + run: | + git diff-files -- resources/*.csv + git diff-files --quiet -- resources/*.csv From b450222796d9f4bcda7ae0b92671ad3736b214d2 Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 11 Jun 2026 17:47:42 -0400 Subject: [PATCH 4/8] Print more CI debugging for DB dirtiness --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f240d9e..0f6abb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,5 +39,6 @@ jobs: # Do this at the end to upload the zip anyway. - name: Check for dirty DB dump run: | + git status git diff-files -- resources/*.csv git diff-files --quiet -- resources/*.csv From 2b7c6e471f057f9c9372f113a2fa3866f48b1d4a Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 11 Jun 2026 17:52:12 -0400 Subject: [PATCH 5/8] Ignore compiled files --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 89f9ac0..ef9f631 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ +# Compiled files +*.py[cd] +__pycache__/ + +# Build artifacts out/ From ee661717c3d578544ee73e8071c00e6ec1541dc8 Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 11 Jun 2026 17:55:05 -0400 Subject: [PATCH 6/8] Test CI dirty DB check --- resources/sublime-text.docset-summary.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/sublime-text.docset-summary.csv b/resources/sublime-text.docset-summary.csv index ea25dfa..e02ce11 100644 --- a/resources/sublime-text.docset-summary.csv +++ b/resources/sublime-text.docset-summary.csv @@ -1,5 +1,5 @@ Path,Type,Name,Count -docs/api_environments.html,Guide,API Environments,1 +docs/api_environments.html,Guide,API Environments,0 docs/api_environments.html,Section,Modules,1 docs/api_environments.html,Section,Overview,1 docs/api_environments.html,Section,Pre-Installed Packages,1 From 7d01b8c14c4b8b098f0e3cb6a4a1570dd2832566 Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 11 Jun 2026 17:57:05 -0400 Subject: [PATCH 7/8] Revert "Test CI dirty DB check" This reverts commit ee661717c3d578544ee73e8071c00e6ec1541dc8. --- resources/sublime-text.docset-summary.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/sublime-text.docset-summary.csv b/resources/sublime-text.docset-summary.csv index e02ce11..ea25dfa 100644 --- a/resources/sublime-text.docset-summary.csv +++ b/resources/sublime-text.docset-summary.csv @@ -1,5 +1,5 @@ Path,Type,Name,Count -docs/api_environments.html,Guide,API Environments,0 +docs/api_environments.html,Guide,API Environments,1 docs/api_environments.html,Section,Modules,1 docs/api_environments.html,Section,Overview,1 docs/api_environments.html,Section,Pre-Installed Packages,1 From 92c8324d03cd0058266bcae0ff4fd43b3c3ceca7 Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Thu, 11 Jun 2026 18:02:34 -0400 Subject: [PATCH 8/8] Print the dirty diff in CI check --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f6abb9..ae56fae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,9 +36,9 @@ jobs: path: out/sublime-*.docset if-no-files-found: error - # Do this at the end to upload the zip anyway. + # Do this at the end to upload the zip even if we fail - name: Check for dirty DB dump run: | git status - git diff-files -- resources/*.csv - git diff-files --quiet -- resources/*.csv + git diff + git diff-files --quiet