Single codemod execution performance improvements #198
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format Pixeebot PRs | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
spotless-apply: | |
if: github.event.pull_request.user.login == 'pixeebot[bot]' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Setup JDK" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: 🐘Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
cache-read-only: true | |
- name: 🎨 Run spotless via Gradle | |
run: ./gradlew spotlessApply | |
- name: Commit and push changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: ":art: Apply formatting" |