Skip to content

Commit c158eb2

Browse files
committed
Polish GitHub action names and formatting
1 parent 14fef8c commit c158eb2

File tree

4 files changed

+23
-31
lines changed

4 files changed

+23
-31
lines changed

.github/actions/send-notification/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Send notification
1+
name: Send Notification
22
description: Sends a Google Chat message as a notification of the job's outcome
33
inputs:
44
webhook-url:

.github/workflows/build-and-deploy-snapshot.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ concurrency:
88
jobs:
99
build-and-deploy-snapshot:
1010
if: ${{ github.repository == 'spring-projects/spring-boot' }}
11-
name: Build and deploy snapshot
11+
name: Build and Deploy Snapshot
1212
runs-on: ubuntu22-8-32
1313
steps:
14-
- name: Set up Java
14+
- name: Setup Java
1515
uses: actions/setup-java@v4
1616
with:
1717
distribution: 'liberica'
1818
java-version: 17
19-
- name: Check out code
19+
- name: Checkout
2020
uses: actions/checkout@v4
2121
- name: Set up Gradle
2222
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5
2323
with:
2424
cache-read-only: false
25-
- name: Configure Gradle properties
25+
- name: Configure Gradle Properties
2626
shell: bash
2727
run: |
2828
mkdir -p $HOME/.gradle
2929
echo 'systemProp.user.name=spring-builds+github' >> $HOME/.gradle/gradle.properties
3030
echo 'systemProp.org.gradle.internal.launcher.welcomeMessageEnabled=false' >> $HOME/.gradle/gradle.properties
3131
echo 'org.gradle.daemon=false' >> $HOME/.gradle/gradle.properties
32-
- name: Build and publish
32+
- name: Build and Publish
3333
id: build
3434
env:
3535
CI: 'true'
@@ -51,15 +51,15 @@ jobs:
5151
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}
5252
artifact-properties: |
5353
/**/spring-boot-docs-*.zip::zip.type=docs,zip.deployed=false
54-
- name: Send notification
54+
- name: Send Notification
5555
uses: ./.github/actions/send-notification
5656
if: always()
5757
with:
5858
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
5959
status: ${{ job.status }}
6060
build-scan-url: ${{ steps.build.outputs.build-scan-url }}
6161
run-name: ${{ format('{0} | Linux | Java 17', github.ref_name) }}
62-
- name: Read version from gradle.properties
62+
- name: Read Version From gradle.properties
6363
id: read-version
6464
shell: bash
6565
run: |
@@ -73,43 +73,43 @@ jobs:
7373
runs-on: ubuntu-latest
7474
needs: build-and-deploy-snapshot
7575
steps:
76-
- name: Check out release verification tests
76+
- name: Checkout Release Verification Tests
7777
uses: actions/checkout@v4
7878
with:
7979
repository: spring-projects/spring-boot-release-verification
8080
ref: 'main'
8181
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
82-
- name: Check out send notification action
82+
- name: Checkout Send Notification Action
8383
uses: actions/checkout@v4
8484
with:
8585
path: spring-boot
8686
sparse-checkout: .github/actions/send-notification
87-
- name: Set up Java
87+
- name: Setup Java
8888
uses: actions/setup-java@v4
8989
with:
9090
distribution: 'liberica'
9191
java-version: 17
92-
- name: Set up Gradle
92+
- name: Setup Gradle
9393
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5
9494
with:
9595
cache-read-only: false
96-
- name: Configure Gradle properties
96+
- name: Configure Gradle Properties
9797
shell: bash
9898
run: |
9999
mkdir -p $HOME/.gradle
100100
echo 'org.gradle.daemon=false' >> $HOME/.gradle/gradle.properties
101-
- name: Run release verification tests
101+
- name: Run Release Verification Tests
102102
env:
103103
RVT_VERSION: ${{ needs.build-and-deploy-snapshot.outputs.version }}
104104
RVT_RELEASE_TYPE: oss
105105
run: ./gradlew spring-boot-release-verification-tests:test
106-
- name: Upload build reports on failure
106+
- name: Upload Build Reports on Failure
107107
uses: actions/upload-artifact@v4
108108
if: failure()
109109
with:
110110
name: build-reports
111111
path: '**/build/reports/'
112-
- name: Send notification
112+
- name: Send Notification
113113
uses: ./spring-boot/.github/actions/send-notification
114114
if: always()
115115
with:

.github/workflows/build-pull-request.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,30 @@ permissions:
66

77
jobs:
88
build:
9-
name: Build pull request
9+
name: Build Pull Request
1010
runs-on: ubuntu22-8-32
1111
if: ${{ github.repository == 'spring-projects/spring-boot' }}
1212
steps:
13-
- name: Set up JDK 17
13+
- name: Setup JDK 17
1414
uses: actions/setup-java@v4
1515
with:
1616
java-version: '17'
1717
distribution: 'liberica'
18-
19-
- name: Check out code
18+
- name: Checkout
2019
uses: actions/checkout@v4
21-
22-
- name: Validate Gradle wrapper
20+
- name: Validate Gradle Wrapper
2321
uses: gradle/wrapper-validation-action@b231772637bb498f11fdbc86052b6e8a8dc9fc92
24-
25-
- name: Set up Gradle
22+
- name: Setup Gradle
2623
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5
27-
2824
- name: Build
2925
env:
3026
CI: 'true'
3127
GRADLE_ENTERPRISE_URL: 'https://ge.spring.io'
3228
run: ./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --no-parallel --continue build
33-
34-
- name: Print JVM thread dumps when cancelled
29+
- name: Print JVM Thread Dumps When Cancelled
3530
uses: ./.github/actions/print-jvm-thread-dumps
3631
if: cancelled()
37-
38-
- name: Upload build reports
32+
- name: Upload Build Reports
3933
uses: actions/upload-artifact@v4
4034
if: failure()
4135
with:

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: "Validate Gradle Wrapper"
22
on: [push, pull_request]
3-
43
permissions:
54
contents: read
6-
75
jobs:
86
validation:
97
name: "Validation"

0 commit comments

Comments
 (0)