From 14d3f1100d1eb30aa24c35b15b09b67385bd3a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Cl=C3=A1udio=20Mandlate?= Date: Thu, 22 May 2025 18:06:13 +0200 Subject: [PATCH 1/5] =?UTF-8?q?Alterar=20configura=C3=A7=C3=A3o=20de=20ind?= =?UTF-8?q?enta=C3=A7=C3=A3o=20do=20XML?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mudou a propriedade `Indent` de `true` para `false` na configuração do `XmlWriterSettings`. Isso resulta em uma saída XML mais compacta, sem indentação. --- src/SAF-T.Mozambique/Generators/MozambiqueSaftGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SAF-T.Mozambique/Generators/MozambiqueSaftGenerator.cs b/src/SAF-T.Mozambique/Generators/MozambiqueSaftGenerator.cs index a0a93b7..a42d54f 100644 --- a/src/SAF-T.Mozambique/Generators/MozambiqueSaftGenerator.cs +++ b/src/SAF-T.Mozambique/Generators/MozambiqueSaftGenerator.cs @@ -258,7 +258,7 @@ private string RetornaXml(AuditFile auditFile) { XmlWriterSettings settings = new() { - Indent = true, + Indent = false, Encoding = Encoding.UTF8 }; //using StringWriter stringWriter = new(); From e501d7c46419024fe503c3a06446d6c583f37284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albero=20Cl=C3=A1udio=20Mandlate?= Date: Thu, 22 May 2025 18:54:48 +0200 Subject: [PATCH 2/5] Update codeql.yml --- .github/workflows/codeql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 907e542..655f33e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,9 +13,9 @@ name: "CodeQL Advanced" on: push: - branches: [ "main" ] + branches: [ "main", "develop", "release-**" ] pull_request: - branches: [ "main" ] + branches: [ "main", "develop", "release-**" ] schedule: - cron: '37 22 * * 5' From 39dea0dff485a6e806f3e698faf6f07aa868947f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albero=20Cl=C3=A1udio=20Mandlate?= Date: Thu, 22 May 2025 19:05:32 +0200 Subject: [PATCH 3/5] Update codeql.yml --- .github/workflows/codeql.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 655f33e..9e7bf96 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -21,7 +21,8 @@ on: jobs: analyze: - name: Analyze (${{ matrix.language }}) + name: Analisar codigo + # name: Analyze (${{ matrix.language }}) # Runner size impacts CodeQL analysis time. To learn more, please see: # - https://gh.io/recommended-hardware-resources-for-running-codeql # - https://gh.io/supported-runners-and-hardware-resources @@ -66,7 +67,7 @@ jobs: # uses: actions/setup-example@v1 # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL + - name: Inicializar o CodeQL uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} @@ -94,7 +95,7 @@ jobs: echo ' make release' exit 1 - - name: Perform CodeQL Analysis + - name: Fazendo analises com o CodeQL uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" From a9c304a7bbda547a2bd6e54e496a7e5d00639807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albero=20Cl=C3=A1udio=20Mandlate?= Date: Thu, 22 May 2025 19:11:31 +0200 Subject: [PATCH 4/5] Update codeql.yml --- .github/workflows/codeql.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9e7bf96..7c6cbb5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -21,8 +21,7 @@ on: jobs: analyze: - name: Analisar codigo - # name: Analyze (${{ matrix.language }}) + name: Analisar (${{ matrix.language }}) # Runner size impacts CodeQL analysis time. To learn more, please see: # - https://gh.io/recommended-hardware-resources-for-running-codeql # - https://gh.io/supported-runners-and-hardware-resources From 63232a2c2c80e96f44704d34dfaf1793585f2ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albero=20Cl=C3=A1udio=20Mandlate?= Date: Thu, 22 May 2025 19:18:18 +0200 Subject: [PATCH 5/5] Update codeql.yml --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7c6cbb5..e204aed 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -81,7 +81,7 @@ jobs: # If the analyze step fails for one of the languages you are analyzing with # "We were unable to automatically build your code", modify the matrix above # to set the build mode to "manual" for that language. Then modify this step - # to build your code. + # to build your code . # ℹ️ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - if: matrix.build-mode == 'manual'