Skip to content

Commit 1e12988

Browse files
authored
Fix SSM integ tests (#5202)
Needs Java 21 to run
1 parent 3548847 commit 1e12988

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/ssm-integ.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
branches: [ main, feature/* ]
1010
# PRs only need to run this if the SSM plugin logic has changed
1111
paths:
12+
- '.github/workflows/ssm-integ.yml'
1213
- 'jetbrains-core/src/software/aws/toolkits/jetbrains/services/ssm/SsmPlugin.kt'
1314
- 'jetbrains-core/it/software/aws/toolkits/jetbrains/services/ssm/SsmPluginTest.kt'
1415

@@ -28,10 +29,10 @@ jobs:
2829
run: git config --system core.longpaths true
2930
if: ${{ matrix.os == 'windows-latest' }}
3031
- uses: actions/checkout@v2
31-
- name: Set up JDK 17
32-
uses: actions/setup-java@v1
32+
- uses: actions/setup-java@v4
3333
with:
34-
java-version: 17
34+
distribution: 'corretto'
35+
java-version: '21'
3536
- name: Grant execute permission for gradlew
3637
run: chmod +x gradlew
3738
- name: Build with Gradle

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
apache-commons-collections = "4.4"
3-
apache-commons-io = "2.16.0"
3+
apache-commons-io = "2.16.1"
44
apache-commons-text = "1.12.0"
55
assertJ = "3.26.3"
66
# match with <root>/settings.gradle.kts

plugins/core/jetbrains-community/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ dependencies {
7373
testFixturesApi(libs.wiremock) {
7474
// conflicts with transitive inclusion from docker plugin
7575
exclude(group = "org.apache.httpcomponents.client5")
76+
// provided by IDE
77+
exclude(group = "commons-io")
7678
}
7779

7880
testImplementation(project(":plugin-core:core"))

0 commit comments

Comments
 (0)