chore(deps): bump com.google.protobuf:protobuf-java-util from 3.25.2 to 3.25.3 #360
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: Build | |
on: | |
pull_request: | |
paths-ignore: | |
- '.github/actions/**' | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
# previous LTS version | |
- SONAR_SERVER_VERSION: 8.9.10 | |
SONAR_PLUGIN_API_VERSION: 6.7.7 | |
SONAR_JAVA_VERSION: 7.11.0.29148 | |
SONAR_SERVER_JAVA_VERSION: 11 | |
UPLOAD_ARTIFACTS: false | |
- SONAR_SERVER_VERSION: 9.7.0.61563 | |
SONAR_PLUGIN_API_VERSION: 6.7.7 | |
SONAR_JAVA_VERSION: 7.13.0.29990 | |
SONAR_SERVER_JAVA_VERSION: 11 | |
UPLOAD_ARTIFACTS: true | |
# current LTS version | |
- SONAR_SERVER_VERSION: 9.9.0.65466 | |
SONAR_PLUGIN_API_VERSION: 6.7.7 | |
SONAR_JAVA_VERSION: 7.13.0.29990 | |
SONAR_SERVER_JAVA_VERSION: 17 | |
UPLOAD_ARTIFACTS: false | |
- SONAR_SERVER_VERSION: 10.0.0.68432 | |
SONAR_PLUGIN_API_VERSION: 6.7.7 | |
SONAR_JAVA_VERSION: 7.13.0.29990 | |
SONAR_SERVER_JAVA_VERSION: 17 | |
UPLOAD_ARTIFACTS: false | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK ${{ matrix.SONAR_SERVER_JAVA_VERSION }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.SONAR_SERVER_JAVA_VERSION }} | |
distribution: temurin | |
cache: 'gradle' | |
- name: Cache Gradle packages | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Build | |
run: | | |
./gradlew build --build-cache --no-daemon \ | |
-PsonarPluginApiVersion=${{ matrix.SONAR_PLUGIN_API_VERSION }} \ | |
-PsonarJavaVersion=${{ matrix.SONAR_JAVA_VERSION }} | |
- name: Upload Build Artifacts | |
if: success() && matrix.UPLOAD_ARTIFACTS == true | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build-artifacts | |
path: build/ |