Skip to content

Commit acfa093

Browse files
committed
chore: update Gradle configuration and GitHub Actions workflow
- Changed the `ratchetFrom` setting in the Spotless plugin from 'origin/main' to 'origin/master'. - Removed unnecessary comments in the GitHub Actions workflow for Gradle setup to streamline the configuration.
1 parent e33bf5d commit acfa093

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/gradle.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ jobs:
3939
key: gradle-cache-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
4040
restore-keys: |
4141
gradle-cache-${{ runner.os }}-
42-
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
43-
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
44-
- name: Setup Gradle
45-
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
42+
4643
4744
- name: Build with Gradle Wrapper
4845
run: ./gradlew build --info --stacktrace

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ allprojects {
6060
}
6161
spotless {
6262
// optional: limit format enforcement to just the files changed by this feature branch
63-
ratchetFrom 'origin/main'
63+
ratchetFrom 'origin/master'
6464

6565
format 'misc', {
6666
// define the files to apply `misc` to

0 commit comments

Comments
 (0)