diff --git a/.github/workflows/githubpages.yaml b/.github/workflows/githubpages.yaml index cfb55fe..e7cc2a6 100644 --- a/.github/workflows/githubpages.yaml +++ b/.github/workflows/githubpages.yaml @@ -13,7 +13,7 @@ jobs: timeout-minutes: 20 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -22,7 +22,7 @@ jobs: run: ./gradlew -Pversion=${{ github.event.release.tag_name }} dokkaHtml - name: Deploy to gh-pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c25b110..2758b01 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,29 +25,29 @@ jobs: timeout-minutes: 90 runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 - name: assemble - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: arguments: assemble -Pversion=${{ inputs.version }} - name: Upload reports if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'reports-${{ matrix.os }}' path: '**/build/reports/**' - name: Publish final version - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: arguments: -Pversion=${{ inputs.version }} publishToSonatype closeSonatypeStagingRepository diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 17f20de..6b59d48 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -15,24 +15,24 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 - name: ios and watchos tests - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: arguments: iosSimulatorArm64Test iosX64Test watchosSimulatorArm64Test watchosX64Test watchosX86Test --parallel --scan - name: Upload reports if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'reports-ios_watchos' path: '**/build/reports/**' @@ -42,24 +42,24 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 - name: macos and tvos tests - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: arguments: macosArm64Test macosX64Test tvosSimulatorArm64Test tvosX64Test --parallel --scan - name: Upload reports if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'reports-macos_tvos' path: '**/build/reports/**' @@ -69,24 +69,24 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 - name: mingwX64Test - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: arguments: mingwX64Test --scan - name: Upload reports if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'reports-windows' path: '**/build/reports/**' @@ -96,24 +96,24 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 11 - name: build - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: arguments: build --scan - name: Upload reports if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'reports-jvmTest' path: '**/build/reports/**' diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index fb1052a..587fd52 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -kotlin = "1.8.22" +kotlin = "2.0.0" arrow = "1.2.0-RC" arrow-config = "0.11.0" dokka = "1.8.20"