Skip to content

chore(deps): update plugin com.gradle.develocity to v3.17.3 #10300

chore(deps): update plugin com.gradle.develocity to v3.17.3

chore(deps): update plugin com.gradle.develocity to v3.17.3 #10300

Workflow file for this run

name: Pre Merge Checks
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
ORG_GRADLE_PROJECT_enablePTS: ${{ github.ref_name != 'main' }}
permissions:
contents: read
jobs:
gradle:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
jdk: [ 8, 11, 17, 21 ]
include:
- os: windows-latest
jdk: 21
- os: macos-latest
jdk: 21
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Assemble and publish artifacts to Maven Local
run: ./gradlew publishToMavenLocal
- name: Build detekt
run: ./gradlew build -x detekt
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: heap-dump
path: '**.hprof'
if-no-files-found: ignore
verify-generated-config-file:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
with:
java-version: 21
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Verify Generated Detekt Config File
run: ./gradlew verifyGeneratorOutput
compile-test-snippets:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
with:
java-version: 21
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Build and compile test snippets
run: ./gradlew test -Pcompile-test-snippets=true
warnings-as-errors:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
with:
java-version: 21
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Run with allWarningsAsErrors
run: ./gradlew compileKotlin compileTestKotlin compileTestFixturesKotlin -PwarningsAsErrors=true