Skip to content

Commit e491c80

Browse files
Merge pull request #102 from SpringNoobs/remove-pipeline-format
Remover pipeline de formatação de código
2 parents 381f475 + 4b2b44e commit e491c80

1 file changed

Lines changed: 1 addition & 33 deletions

File tree

.github/workflows/pipeline.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -48,36 +48,4 @@ jobs:
4848
uses: actions/upload-artifact@v5.0.0
4949
with:
5050
name: jacoco-report
51-
path: target/site/jacoco
52-
53-
format:
54-
name: Format Code
55-
permissions:
56-
contents: write
57-
runs-on: ubuntu-latest
58-
59-
steps:
60-
- uses: actions/checkout@v5.0.0
61-
with:
62-
ref: ${{ github.event.pull_request.head.ref}}
63-
fetch-depth: 0
64-
65-
- name: Instalar Java 25
66-
uses: actions/setup-java@v5.0.0
67-
with:
68-
distribution: "temurin"
69-
java-version: 25
70-
- name: Formatar código com Spotless
71-
run: ./mvnw spotless:apply
72-
73-
- name: Faz um commit e push das mudanças
74-
run: |
75-
git config user.name "github-actions[bot]"
76-
git config user.email "github-actions[bot]@users.noreply.github.com"
77-
git add .
78-
if ! git diff --staged --quiet; then
79-
git commit -m "Aplica formatação do spotless"
80-
git push
81-
else
82-
echo "Nenhuma mudança de formatação necessária."
83-
fi
51+
path: target/site/jacoco

0 commit comments

Comments
 (0)