fix(deps): update dependency org.mockito:mockito-core to v5.20.0 #304
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: Build | |
| on: [ push ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'adopt' | |
| cache: 'gradle' | |
| - name: Build with Gradle | |
| run: ./gradlew test build --no-daemon | |
| - name: Publish with Gradle | |
| if: github.ref == 'refs/heads/master' | |
| env: | |
| GPG_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }} | |
| GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} | |
| USERNAME: ${{ secrets.REPO_USER }} | |
| TOKEN: ${{ secrets.REPO_TOKEN }} | |
| run: ./gradlew publish --no-daemon |