From 0d6811a77d7c16007053eb38fa180204b8b97a0e Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Sat, 16 Nov 2024 16:33:38 +0100 Subject: [PATCH] - upgrade CI action versions - run lint on gradle plugin --- .github/workflows/ci.yml | 16 ++++++++++------ .../workflows/gradle-dependency-submission.yml | 2 +- .github/workflows/static.yml | 6 ++++-- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f30fc8e40..9b1583902 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 - name: Cache konan uses: actions/cache@v4 @@ -108,20 +108,24 @@ jobs: 15 17 + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + - name: Validate gradle wrapper - uses: gradle/wrapper-validation-action@v2 + uses: gradle/actions/wrapper-validation@v3 - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - - name: Publish plugin locally run: | cd plugin-build ./gradlew publishToMavenLocal + - name: Run Lint on Gradle Plugin + run: | + ./gradlew plugin-build:plugin:lint + - name: Build Debug run: ./gradlew app:assembleDebug @@ -173,7 +177,7 @@ jobs: - name: Build Changelog id: github_release - uses: mikepenz/release-changelog-builder-action@v4 + uses: mikepenz/release-changelog-builder-action@v5 if: startsWith(github.ref, 'refs/tags/') with: configuration: ".github/config/configuration.json" diff --git a/.github/workflows/gradle-dependency-submission.yml b/.github/workflows/gradle-dependency-submission.yml index ab1de9925..4782ac58b 100644 --- a/.github/workflows/gradle-dependency-submission.yml +++ b/.github/workflows/gradle-dependency-submission.yml @@ -25,6 +25,6 @@ jobs: run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - name: Setup Gradle & Submit dependency graphs - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 with: dependency-graph: generate-and-submit \ No newline at end of file diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index dcdd98381..9cd826a12 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -31,8 +31,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Setup Pages - uses: actions/configure-pages@v4 + uses: actions/configure-pages@v5 + - uses: actions/setup-java@v4 with: distribution: 'zulu' @@ -40,7 +42,7 @@ jobs: 11 17 - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 - name: Build Page run: | ./gradlew :app-wasm:exportLibraryDefinitions -PaboutLibraries.exportPath=src/commonMain/composeResources/files/