Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Kotlin and arrow to 2.x series #1083

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
10 changes: 5 additions & 5 deletions .github/workflows/generate-alpha-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

steps:
- name: Checkout
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: 'temurin'
java-version: '17'
Expand All @@ -38,13 +38,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.TOKEN_GITHUB_ACTION }}

- name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -56,4 +56,4 @@ jobs:
run: git push --follow-tags

- name: Stop Gradle daemons
run: ./gradlew --stop
run: ./gradlew --stop
10 changes: 5 additions & 5 deletions .github/workflows/generate-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:

steps:
- name: Checkout
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: 'temurin'
java-version: '17'
Expand All @@ -59,13 +59,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.TOKEN_GITHUB_ACTION }}

- name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -77,4 +77,4 @@ jobs:
run: git push --follow-tags

- name: Stop Gradle daemons
run: ./gradlew --stop
run: ./gradlew --stop
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
analysis-version: ${{ steps.get-analysis-version.outputs.analysis-version }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -53,9 +53,9 @@ jobs:
echo "::set-output name=analysis-version::$(head -n 1 build/semver/version.txt)"

- name: Upload reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'reports-${{ matrix.os }}'
name: 'reports-${{ matrix.os }}-${{ strategy.job-index }}'
path: '**/build/reports/**'

- name: Stop Gradle daemons
Expand All @@ -77,9 +77,9 @@ jobs:
runs-on: macos-11

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -107,9 +107,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
jvm_target: [ '1.8', '11', '17' ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -32,17 +32,17 @@ jobs:
arguments: -PjvmTargetVersion=${{ matrix.jvm_target }} build --scan --stacktrace -x apiCheck

- name: Upload reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'reports-${{ matrix.os }}'
name: 'reports-${{ matrix.os }}-${{ strategy.job-index }}'
path: '**/build/reports/**'

update_api:
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -64,7 +64,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Create API Doc and validate, step 1"
run: ./gradlew buildMetaDoc
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ kotlin.mpp.stability.nowarn=true
# Kotlin Test configuration
#Parallelism needs to be set to 1 since the concurrent tests in arrow-effects become flaky otherwise
kotlintest.parallelism=1

org.jetbrains.dokka.experimental.gradle.pluginMode=V2EnabledWithHelpers
14 changes: 7 additions & 7 deletions gradle/projects.libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[versions]
arrow = "1.2.0-RC"
arrowGradleConfig = "0.12.0-rc.3"
arrow = "2.0.1"
arrowGradleConfig = "0.12.0-rc.26"
assertj = "3.24.2"
classgraph = "4.8.157"
dokka = "1.8.10"
dokka = "2.0.0"
intellijOpenApi = "7.0.3"
javaAssist = "3.29.2-GA"
junit = "5.9.2"
kotlin = "1.9.21"
kotlinCompileTesting = "0.4.0"
kotlin = "2.1.10"
kotlinCompileTesting = "0.7.0"
javaCompileTesting = "0.21.0"
kotlinBinaryCompatibilityValidator = "0.13.0"
kotlinBinaryCompatibilityValidator = "0.17.0"
detekt = "1.22.0"
ksp = "1.9.21-1.0.15"
ksp = "2.1.0-1.0.29"

[libraries]
arrowCore = { module = "io.arrow-kt:arrow-core", version.ref = "arrow" }
Expand Down
Loading