From 2ec107382bcf2bb61498c865c31e5643ed6cb5ca Mon Sep 17 00:00:00 2001 From: jhdcruz Date: Tue, 13 Dec 2022 16:11:24 +0800 Subject: [PATCH] fix yml excess spacing --- .editorconfig | 3 +++ .github/workflows/ci.yml | 26 +++++++++++++------------- .github/workflows/deploy.yml | 32 ++++++++++++++++---------------- 3 files changed, 32 insertions(+), 29 deletions(-) diff --git a/.editorconfig b/.editorconfig index 97ad745..29f6edd 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,3 +7,6 @@ indent_size = 4 indent_style = space trim_trailing_whitespace = true insert_final_newline = true + +[*.yml] +indent_size = 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf94521..829c148 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,20 +7,20 @@ on: jobs: compile: runs-on: ubuntu-latest - + steps: - - uses: actions/checkout@v3 - - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - cache: maven + - uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + cache: maven - - name: Compile maven project - run: mvn compile + - name: Compile maven project + run: mvn compile - - name: Update dependency graph - uses: advanced-security/maven-dependency-submission-action@multi-module + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@multi-module diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7ca21f2..39af2fc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,23 +10,23 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - cache: maven + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + cache: maven - - name: Compile project - run: mvn clean compile assembly:single + - name: Compile project + run: mvn clean compile assembly:single - - name: Release - uses: softprops/action-gh-release@v0.1.13 - if: startsWith(github.ref, 'refs/tags/') - with: - files: .target/*.jar + - name: Release + uses: softprops/action-gh-release@v0.1.13 + if: startsWith(github.ref, 'refs/tags/') + with: + files: .target/*.jar - - name: Update dependency graph - uses: advanced-security/maven-dependency-submission-action@multi-module + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@multi-module