From 2ad50e5c4fba0a34f09926e477c87d018c2807da Mon Sep 17 00:00:00 2001 From: Alex Semin Date: Wed, 4 Dec 2024 08:30:28 +0100 Subject: [PATCH 1/3] Update check action step versions --- .github/workflows/check.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f0dceb9..f1458d6 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,8 +1,8 @@ name: Check on: - workflow_dispatch: {} - pull_request: {} + workflow_dispatch: { } + pull_request: { } push: branches: [ main ] tags: [ 'v*' ] @@ -19,22 +19,22 @@ jobs: fail-fast: false runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: zulu java-version-file: .github/workflows/.ci-java-version - name: Cache Kotlin Konan id: cache-kotlin-konan - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.konan/**/* key: kotlin-konan-${{ runner.os }} - - uses: gradle/gradle-build-action@v2 - with: - gradle-home-cache-cleanup: true - arguments: check + - uses: gradle/actions/setup-gradle@v4 + + - name: Check + run: ./gradlew check From 6241bd50bd1eb8a1e70a79854203a635e1a602d4 Mon Sep 17 00:00:00 2001 From: Alex Semin Date: Wed, 4 Dec 2024 08:49:09 +0100 Subject: [PATCH 2/3] Update release action step versions --- .github/workflows/release.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e26d55..be1b1fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ name: Release on: - workflow_dispatch: {} + workflow_dispatch: { } push: tags: - 'v*' @@ -18,25 +18,23 @@ jobs: fail-fast: false runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: zulu java-version-file: .github/workflows/.ci-java-version - name: Cache Kotlin Konan id: cache-kotlin-konan - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.konan/**/* key: kotlin-konan-${{ runner.os }} - name: Setup Gradle - uses: gradle/gradle-build-action@v2 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 - name: Publish the shared and macOS artifacts if: matrix.os == 'macOS-latest' From aafc4528abeaaef8d78d32742935628aed8f9acd Mon Sep 17 00:00:00 2001 From: Alex Semin Date: Wed, 4 Dec 2024 08:49:35 +0100 Subject: [PATCH 3/3] Obfuscate external process tracking --- settings.gradle.kts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 30a4585..26c2e2b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -4,10 +4,13 @@ plugins { } develocity { - buildScan.termsOfUseUrl = "https://gradle.com/terms-of-service" - buildScan.termsOfUseAgree = "yes" - val ci = providers.environmentVariable("CI").orNull != null - buildScan.publishing { onlyIf { ci } } + buildScan { + termsOfUseUrl = "https://gradle.com/terms-of-service" + termsOfUseAgree = "yes" + val ci = providers.environmentVariable("CI").orNull != null + publishing { onlyIf { ci } } + obfuscation { externalProcessName { "non-build-process" } } + } } rootProject.name = "parsus"