build(deps): bump getsentry/action-app-sdk-overhead-metrics from ecce2e2718b6d97ad62220fca05627900b061ed5 to 44fb5489ac4ac252c87d84811972dc93a1e490b8 #9619
Workflow file for this run
This file contains hidden or 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 code | |
| on: | |
| pull_request: | |
| jobs: | |
| format-code: | |
| name: Format Code | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| submodules: 'recursive' | |
| - name: set up JDK 17 | |
| uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c | |
| with: | |
| cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Format with spotlessApply | |
| run: ./gradlew spotlessApply | |
| # actions/checkout fetches only a single commit in a detached HEAD state. Therefore | |
| # we need to pass the current branch, otherwise we can't commit the changes. | |
| # GITHUB_HEAD_REF is the name of the head branch. GitHub Actions only sets this for PRs. | |
| - name: Commit Formatted Code | |
| run: ./scripts/commit-formatted-code.sh $GITHUB_HEAD_REF |