Skip to content

chore(deps): bump org.sonarsource.orchestrator:sonar-orchestrator-junit5 from 4.1.0.495 to 4.3.0.568 #322

chore(deps): bump org.sonarsource.orchestrator:sonar-orchestrator-junit5 from 4.1.0.495 to 4.3.0.568

chore(deps): bump org.sonarsource.orchestrator:sonar-orchestrator-junit5 from 4.1.0.495 to 4.3.0.568 #322

Workflow file for this run

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/