fix(deps): update errorprone to v2.24.1 #385
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
on: | |
push: | |
branches: ['master'] | |
pull_request: | |
permissions: | |
checks: write # for SonarQube | |
contents: write # for semantic-release/github | |
issues: write # fir semantic-release/github | |
statuses: read # for SonarQube | |
pull-requests: write # for SonarQube and semantic-release/github | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: gradle/wrapper-validation-action@v1 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'microsoft' | |
java-version-file: '.java-version' | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Setup Gradle to generate and submit dependency graphs | |
uses: gradle/gradle-build-action@v2 | |
with: | |
dependency-graph: generate-and-submit | |
- run: | | |
./gradlew build ${SONAR_TOKEN:+sonar} | |
rm build/libs/*.jar | |
npm ci | |
npx semantic-release | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ORG_GRADLE_PROJECT_sonatypeUsername: eller86 | |
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} | |
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: reports | |
path: build/reports |