From d70a05b442a80384f9228678757d44b3e6bbe7f8 Mon Sep 17 00:00:00 2001 From: Lucas Barbosa Dourado Date: Sat, 13 Dec 2025 16:21:01 -0300 Subject: [PATCH 1/3] =?UTF-8?q?Revert=20"Formata=C3=A7=C3=A3o=20pipeline.y?= =?UTF-8?q?ml"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a7bdb0dc1a26e8c91b10c7029be7bb9d9b24e374. --- .github/workflows/pipeline.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 4544d83..d1fc11f 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -2,7 +2,7 @@ name: Pipeline on: pull_request: - branches: [master] + branches: [ master ] permissions: pull-requests: write @@ -21,7 +21,7 @@ jobs: - name: Instalar Java 25 uses: actions/setup-java@v5.0.0 with: - distribution: "temurin" + distribution: 'temurin' java-version: 25 - name: Empacotamento do projeto @@ -38,7 +38,7 @@ jobs: - name: Instalar Java 25 uses: actions/setup-java@v5.0.0 with: - distribution: "temurin" + distribution: 'temurin' java-version: 25 - name: Testes Unitários @@ -50,7 +50,7 @@ jobs: name: jacoco-report path: target/site/jacoco - format: + format: name: Format Code permissions: contents: write @@ -59,13 +59,13 @@ jobs: steps: - uses: actions/checkout@v5.0.0 with: - ref: ${{ github.event.pull_request.head.ref}} + ref: ${{github.event.pull_request.head.ref}} fetch-depth: 0 - + - name: Instalar Java 25 uses: actions/setup-java@v5.0.0 with: - distribution: "temurin" + distribution: 'temurin' java-version: 25 - name: Formatar código com Spotless run: ./mvnw spotless:apply @@ -73,11 +73,11 @@ jobs: - name: Faz um commit e push das mudanças run: | git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" + git config user.email "github-actions[bot]@users.noreply. github.com" git add . - if ! git diff --staged --quiet; then + if ! git diff --staged --quiet; then git commit -m "Aplica formatação do spotless" git push else echo "Nenhuma mudança de formatação necessária." - fi + fi \ No newline at end of file From 31eb189edf418ff5cac7538a4ac7d6304c4b9090 Mon Sep 17 00:00:00 2001 From: Lucas Barbosa Dourado Date: Sat, 13 Dec 2025 16:21:02 -0300 Subject: [PATCH 2/3] =?UTF-8?q?Revert=20"Adiciona=20workflow=20de=20format?= =?UTF-8?q?a=C3=A7=C3=A3o=20com=20spotless=20na=20pipeline"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 157d012b56b943a452aa2a8673a47e908198e2a2. --- .github/workflows/pipeline.yml | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index d1fc11f..1b9914a 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -48,36 +48,4 @@ jobs: uses: actions/upload-artifact@v5.0.0 with: name: jacoco-report - path: target/site/jacoco - - format: - name: Format Code - permissions: - contents: write - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v5.0.0 - with: - ref: ${{github.event.pull_request.head.ref}} - fetch-depth: 0 - - - name: Instalar Java 25 - uses: actions/setup-java@v5.0.0 - with: - distribution: 'temurin' - java-version: 25 - - name: Formatar código com Spotless - run: ./mvnw spotless:apply - - - name: Faz um commit e push das mudanças - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply. github.com" - git add . - if ! git diff --staged --quiet; then - git commit -m "Aplica formatação do spotless" - git push - else - echo "Nenhuma mudança de formatação necessária." - fi \ No newline at end of file + path: target/site/jacoco \ No newline at end of file From 4b2b44e5a2564da24a9d7330861aad0f4cb4b14d Mon Sep 17 00:00:00 2001 From: Lucas Barbosa Dourado Date: Sat, 13 Dec 2025 16:23:49 -0300 Subject: [PATCH 3/3] =?UTF-8?q?Revert=20"Formata=C3=A7=C3=A3o=20pipeline.y?= =?UTF-8?q?ml"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a7bdb0dc --- .github/workflows/pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 1b9914a..698d948 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -2,7 +2,7 @@ name: Pipeline on: pull_request: - branches: [ master ] + branches: [master] permissions: pull-requests: write @@ -21,7 +21,7 @@ jobs: - name: Instalar Java 25 uses: actions/setup-java@v5.0.0 with: - distribution: 'temurin' + distribution: "temurin" java-version: 25 - name: Empacotamento do projeto @@ -38,7 +38,7 @@ jobs: - name: Instalar Java 25 uses: actions/setup-java@v5.0.0 with: - distribution: 'temurin' + distribution: "temurin" java-version: 25 - name: Testes Unitários