diff --git a/.github/workflows/generate-alpha-tag.yaml b/.github/workflows/generate-alpha-tag.yaml index 47a27b42..1afe942d 100644 --- a/.github/workflows/generate-alpha-tag.yaml +++ b/.github/workflows/generate-alpha-tag.yaml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: Set up Java - uses: actions/setup-java@v3.1.0 + uses: actions/setup-java@v3.3.0 with: distribution: 'adopt' java-version: '15' @@ -44,7 +44,7 @@ jobs: token: ${{ secrets.TOKEN_GITHUB_ACTION }} - name: Set up Java - uses: actions/setup-java@v3.1.0 + uses: actions/setup-java@v3.3.0 with: distribution: 'adopt' java-version: '15' diff --git a/.github/workflows/generate-tag.yaml b/.github/workflows/generate-tag.yaml index fd7dda53..f746d0db 100644 --- a/.github/workflows/generate-tag.yaml +++ b/.github/workflows/generate-tag.yaml @@ -40,7 +40,7 @@ jobs: fetch-depth: 0 - name: Set up Java - uses: actions/setup-java@v3.1.0 + uses: actions/setup-java@v3.3.0 with: distribution: 'adopt' java-version: '15' @@ -65,7 +65,7 @@ jobs: token: ${{ secrets.TOKEN_GITHUB_ACTION }} - name: Set up Java - uses: actions/setup-java@v3.1.0 + uses: actions/setup-java@v3.3.0 with: distribution: 'adopt' java-version: '15' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee3cfafc..8054caee 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,11 +32,11 @@ jobs: analysis-version: ${{ steps.get-analysis-version.outputs.analysis-version }} steps: - - uses: actions/checkout@v3.0.0 + - uses: actions/checkout@v3.0.2 with: fetch-depth: 0 - - uses: actions/setup-java@v3.1.0 + - uses: actions/setup-java@v3.3.0 with: distribution: 'adopt' java-version: '15' @@ -79,9 +79,9 @@ jobs: runs-on: macos-11 steps: - - uses: actions/checkout@v3.0.0 + - uses: actions/checkout@v3.0.2 - - uses: actions/setup-java@v3.1.0 + - uses: actions/setup-java@v3.3.0 with: distribution: 'adopt' java-version: '15' @@ -131,9 +131,9 @@ jobs: S3_BUCKET: ${{ secrets.S3_BUCKET }} steps: - - uses: actions/checkout@v3.0.0 + - uses: actions/checkout@v3.0.2 - - uses: actions/setup-java@v3.0.0 + - uses: actions/setup-java@v3.3.0 with: distribution: 'adopt' java-version: '15' diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 7959e38e..e6b22fda 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -20,11 +20,11 @@ jobs: jvm_target: ['1.8', '11', '15'] steps: - - uses: actions/checkout@v3.0.0 + - uses: actions/checkout@v3.0.2 with: fetch-depth: 0 - - uses: actions/setup-java@v3.1.0 + - uses: actions/setup-java@v3.3.0 with: distribution: 'adopt' java-version: '15' @@ -71,7 +71,7 @@ jobs: run: ./gradlew --stop - name: "Commit new API files" - uses: stefanzweifel/git-auto-commit-action@v4.14.0 + uses: stefanzweifel/git-auto-commit-action@v4.14.1 with: commit_message: Update API files file_pattern: /**/api/*.api diff --git a/analysis/kotlin-plugin/src/main/kotlin/arrow/meta/plugins/analysis/phases/analysis/solver/ast/kotlin/elements/KotlinElement.kt b/analysis/kotlin-plugin/src/main/kotlin/arrow/meta/plugins/analysis/phases/analysis/solver/ast/kotlin/elements/KotlinElement.kt index 96b0af2a..1acea71e 100644 --- a/analysis/kotlin-plugin/src/main/kotlin/arrow/meta/plugins/analysis/phases/analysis/solver/ast/kotlin/elements/KotlinElement.kt +++ b/analysis/kotlin-plugin/src/main/kotlin/arrow/meta/plugins/analysis/phases/analysis/solver/ast/kotlin/elements/KotlinElement.kt @@ -15,7 +15,9 @@ import org.jetbrains.kotlin.psi.KtStringTemplateEntry import org.jetbrains.kotlin.psi.psiUtil.parents import org.jetbrains.kotlin.resolve.BindingContextUtils import org.jetbrains.kotlin.resolve.calls.callUtil.getResolvedCall +import org.jetbrains.kotlin.utils.IDEAPluginsCompatibilityAPI +@OptIn(IDEAPluginsCompatibilityAPI::class) fun interface KotlinElement : Element { override fun impl(): KtElement diff --git a/analysis/kotlin-plugin/src/main/kotlin/arrow/meta/plugins/analysis/phases/analysis/solver/ast/kotlin/elements/KotlinExpression.kt b/analysis/kotlin-plugin/src/main/kotlin/arrow/meta/plugins/analysis/phases/analysis/solver/ast/kotlin/elements/KotlinExpression.kt index f25e05f7..be46d1a9 100644 --- a/analysis/kotlin-plugin/src/main/kotlin/arrow/meta/plugins/analysis/phases/analysis/solver/ast/kotlin/elements/KotlinExpression.kt +++ b/analysis/kotlin-plugin/src/main/kotlin/arrow/meta/plugins/analysis/phases/analysis/solver/ast/kotlin/elements/KotlinExpression.kt @@ -9,7 +9,9 @@ import arrow.meta.plugins.analysis.phases.analysis.solver.ast.kotlin.types.Kotli import org.jetbrains.kotlin.psi.KtExpression import org.jetbrains.kotlin.psi.psiUtil.lastBlockStatementOrThis import org.jetbrains.kotlin.resolve.calls.callUtil.getType +import org.jetbrains.kotlin.utils.IDEAPluginsCompatibilityAPI +@OptIn(IDEAPluginsCompatibilityAPI::class) fun interface KotlinExpression : Expression, KotlinElement { override fun impl(): KtExpression override fun type(context: ResolutionContext): Type? = diff --git a/gradle/projects.libs.versions.toml b/gradle/projects.libs.versions.toml index ab38a05e..0bf0429f 100644 --- a/gradle/projects.libs.versions.toml +++ b/gradle/projects.libs.versions.toml @@ -1,8 +1,8 @@ [versions] -arrow = "1.0.1" -arrowMeta = "1.6.1-alpha.4" -arrowGradleConfig = "0.10.1-alpha.1" -classgraph = "4.8.143" +arrow = "1.1.2" +arrowMeta = "1.6.1-alpha.5" +arrowGradleConfig = "0.10.1" +classgraph = "4.8.146" dokka = "1.6.21" junit = "5.8.2" junitLauncher = "1.8.2" @@ -12,8 +12,8 @@ javaSmt = "3.12.0" javaCompileTesting = "0.19" apacheCommonsText = "1.9" sarif4k = "0.0.1" -kotlinBinaryCompatibilityValidator = "0.8.0" -detekt = "1.19.0" +kotlinBinaryCompatibilityValidator = "0.9.0" +detekt = "1.20.0" [libraries] arrowAnnotations = { module = "io.arrow-kt:arrow-annotations", version.ref = "arrow" }