From fcc0e48b53767aa4a6f95d0b8c6e745f767d12f0 Mon Sep 17 00:00:00 2001 From: Drew Skwiers-Koballa Date: Fri, 26 Sep 2025 11:27:11 -0700 Subject: [PATCH 1/4] add antlr output archive step --- .github/workflows/pr-validation.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 7db3592..ba129cc 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -18,6 +18,12 @@ jobs: run: dotnet restore - name: Build run: dotnet build dirs.proj + - name: Archive antlr log for troubleshooting + if: ${{ failure() && matrix.os == 'ubuntu-latest' }} + uses: actions/upload-artifact@v2 + with: + name: antlr-log + path: SqlScriptDom/NUL test: runs-on: ${{ matrix.os }} strategy: From 6137a4a7b06a1ee5b4922da8ad15e1a6995fb4ed Mon Sep 17 00:00:00 2001 From: Drew Skwiers-Koballa Date: Fri, 26 Sep 2025 11:27:44 -0700 Subject: [PATCH 2/4] temporarily breaking antlr to test CI --- SqlScriptDom/Parser/TSql/TSql170.g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SqlScriptDom/Parser/TSql/TSql170.g b/SqlScriptDom/Parser/TSql/TSql170.g index d746306..cfec0b9 100644 --- a/SqlScriptDom/Parser/TSql/TSql170.g +++ b/SqlScriptDom/Parser/TSql/TSql170.g @@ -13,7 +13,7 @@ // Also for token that we don't track of like Comma, Semicolon etc. we have to // call the same function. Alternatively the properties(StartOffset, FragmentLength) // on Fragment.cs can be used for this purpose. - +' options { language = "CSharp"; namespace = "Microsoft.SqlServer.TransactSql.ScriptDom"; From 13c9351710bb1e262700be839be09484b2d97d3e Mon Sep 17 00:00:00 2001 From: Drew Skwiers-Koballa Date: Fri, 26 Sep 2025 11:30:09 -0700 Subject: [PATCH 3/4] non-depr archive version --- .github/workflows/pr-validation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index ba129cc..9e3f2d7 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -20,7 +20,7 @@ jobs: run: dotnet build dirs.proj - name: Archive antlr log for troubleshooting if: ${{ failure() && matrix.os == 'ubuntu-latest' }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: antlr-log path: SqlScriptDom/NUL From 61c9fb02de2f1d782d9c925f5ccd715014da8c1a Mon Sep 17 00:00:00 2001 From: Drew Skwiers-Koballa Date: Fri, 26 Sep 2025 11:34:06 -0700 Subject: [PATCH 4/4] removing the intentional break --- SqlScriptDom/Parser/TSql/TSql170.g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SqlScriptDom/Parser/TSql/TSql170.g b/SqlScriptDom/Parser/TSql/TSql170.g index cfec0b9..d746306 100644 --- a/SqlScriptDom/Parser/TSql/TSql170.g +++ b/SqlScriptDom/Parser/TSql/TSql170.g @@ -13,7 +13,7 @@ // Also for token that we don't track of like Comma, Semicolon etc. we have to // call the same function. Alternatively the properties(StartOffset, FragmentLength) // on Fragment.cs can be used for this purpose. -' + options { language = "CSharp"; namespace = "Microsoft.SqlServer.TransactSql.ScriptDom";