From 012872b1f37c3a39fa74931e240c1eadfd9a48fa Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 27 Mar 2024 12:36:32 -0700 Subject: [PATCH] Polish GitHub action names and formatting --- .github/workflows/build-and-deploy-snapshot.yml | 16 ++++++++-------- .github/workflows/build-pull-request.yml | 6 +++--- .github/workflows/ci.yml | 12 ++++++------ ...alidation.yml => validate-gradle-wrapper.yml} | 0 4 files changed, 17 insertions(+), 17 deletions(-) rename .github/workflows/{gradle-wrapper-validation.yml => validate-gradle-wrapper.yml} (100%) diff --git a/.github/workflows/build-and-deploy-snapshot.yml b/.github/workflows/build-and-deploy-snapshot.yml index d11fc574fa4..96ea5d55fa2 100644 --- a/.github/workflows/build-and-deploy-snapshot.yml +++ b/.github/workflows/build-and-deploy-snapshot.yml @@ -1,4 +1,4 @@ -name: Build and deploy snapshot +name: Build and Deploy Snapshot on: push: branches: @@ -11,14 +11,14 @@ jobs: name: Build and Deploy Snapshot runs-on: ubuntu22-8-32 steps: - - name: Setup Java + - name: Set Up Java uses: actions/setup-java@v4 with: distribution: 'liberica' java-version: 17 - - name: Checkout + - name: Check Out uses: actions/checkout@v4 - - name: Set up Gradle + - name: Set Up Gradle uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 with: cache-read-only: false @@ -73,23 +73,23 @@ jobs: runs-on: ubuntu-latest needs: build-and-deploy-snapshot steps: - - name: Checkout Release Verification Tests + - name: Check Out Release Verification Tests uses: actions/checkout@v4 with: repository: spring-projects/spring-boot-release-verification ref: 'main' token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} - - name: Checkout Send Notification Action + - name: Check Out Send Notification Action uses: actions/checkout@v4 with: path: spring-boot sparse-checkout: .github/actions/send-notification - - name: Setup Java + - name: Set Up Java uses: actions/setup-java@v4 with: distribution: 'liberica' java-version: 17 - - name: Setup Gradle + - name: Set Up Gradle uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 with: cache-read-only: false diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index c789fd8967d..451e00f12b2 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -10,16 +10,16 @@ jobs: runs-on: ubuntu22-8-32 if: ${{ github.repository == 'spring-projects/spring-boot' }} steps: - - name: Setup JDK 17 + - name: Set Up JDK 17 uses: actions/setup-java@v4 with: java-version: '17' distribution: 'liberica' - - name: Checkout + - name: Check Out uses: actions/checkout@v4 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@b231772637bb498f11fdbc86052b6e8a8dc9fc92 - - name: Setup Gradle + - name: Set Up Gradle uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 - name: Build env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0eb4ed8be4..c64014a6b15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: name: '${{ matrix.os.name}} | Java ${{ matrix.java.version}}' runs-on: ${{ matrix.os.id }} steps: - - name: Set up Java + - name: Set Up Java uses: actions/setup-java@v4 with: distribution: 'liberica' @@ -41,20 +41,20 @@ jobs: git config --global core.autocrlf true git config --global core.longPaths true Stop-Service -name Docker - - name: Check out code + - name: Check Out Code uses: actions/checkout@v4 - - name: Set up Gradle + - name: Set Up Gradle uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 with: cache-read-only: false - - name: Configure Gradle properties + - name: Configure Gradle Properties shell: bash run: | mkdir -p $HOME/.gradle echo 'systemProp.user.name=spring-builds+github' >> $HOME/.gradle/gradle.properties echo 'systemProp.org.gradle.internal.launcher.welcomeMessageEnabled=false' >> $HOME/.gradle/gradle.properties echo 'org.gradle.daemon=false' >> $HOME/.gradle/gradle.properties - - name: Configure toolchain properties + - name: Configure Toolchain Properties if: ${{ matrix.java.toolchain }} shell: bash run: | @@ -71,7 +71,7 @@ jobs: GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }} GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} run: ./gradlew build - - name: Send notification + - name: Send Notification uses: ./.github/actions/send-notification if: always() with: diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/validate-gradle-wrapper.yml similarity index 100% rename from .github/workflows/gradle-wrapper-validation.yml rename to .github/workflows/validate-gradle-wrapper.yml