Reuse MockedStatic for consecutive stubbings of the same class (#1005)
#5369
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags-ignore: | |
| - "*" | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: {} | |
| schedule: | |
| - cron: 0 17 * * * | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| uses: openrewrite/gh-automation/.github/workflows/ci-gradle.yml@main | |
| secrets: | |
| gradle_enterprise_access_key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
| sonatype_username: ${{ secrets.SONATYPE_USERNAME }} | |
| sonatype_token: ${{ secrets.SONATYPE_TOKEN}} | |
| ossrh_signing_key: ${{ secrets.OSSRH_SIGNING_KEY }} | |
| ossrh_signing_password: ${{ secrets.OSSRH_SIGNING_PASSWORD }} | |
| OPS_GITHUB_ACTIONS_WEBHOOK: ${{ secrets.OPS_GITHUB_ACTIONS_WEBHOOK }} |