Skip to content

Commit dd6fb2e

Browse files
committed
chore: merge w main
2 parents 5d9cb11 + bbcb529 commit dd6fb2e

5 files changed

Lines changed: 45 additions & 31 deletions

File tree

.github/CODEOWNERS

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
# Salesforce Open Source project configuration
2+
# Learn more: https://github.com/salesforce/oss-template
3+
#ECCN:Open Source
4+
#GUSINFO:Open Source,Open Source Workflow
5+
16
# Code owners are the default owners for everything in
27
# this repository. The owners listed below will be requested for
38
# review when a pull request is opened.
4-
# To add code owner(s), uncomment the line below and
5-
# replace the @global-owner users with their GitHub username(s).
6-
# * @global-owner1 @global-owner
9+
# To set code owner(s), replace the team below with either
10+
# their GitHub username(s) or a GitHub team.
11+
* @slack-samples/maintainers

.github/workflows/gradle.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,26 @@ name: Lint & Test with Gradle
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
77

88
jobs:
99
gradle:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
java-version: ['11', '17']
13+
java-version:
14+
- 17
15+
- 21
1416

1517
steps:
16-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1719
- name: Install JDK
18-
uses: actions/setup-java@v4
20+
uses: actions/setup-java@v5
1921
with:
2022
java-version: ${{ matrix.java-version }}
21-
distribution: 'adopt'
23+
distribution: "adopt"
2224
- name: Lint
2325
run: gradle spotlessCheck
2426
- name: Build & Test
25-
run: gradle test -x spotlessApply
27+
run: gradle test -x spotlessApply --info

.github/workflows/mvn.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,25 @@ name: Lint & Test with Maven
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
77

88
jobs:
99
mvn:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
java-version: ['11', '17']
13+
java-version:
14+
- 17
15+
- 21
1416

1517
steps:
16-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1719
- name: Install JDK
18-
uses: actions/setup-java@v4
20+
uses: actions/setup-java@v5
1921
with:
2022
java-version: ${{ matrix.java-version }}
21-
distribution: 'adopt'
23+
distribution: "adopt"
2224
- name: Lint
2325
run: mvn --batch-mode spotless:check
2426
- name: Build & Test

build.gradle

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id "com.diffplug.spotless" version "7.1.0"
3+
id "com.diffplug.spotless" version "8.1.0"
44
}
55

66
java {
@@ -13,25 +13,30 @@ repositories {
1313
}
1414

1515
dependencies {
16-
implementation("ch.qos.logback:logback-classic:1.5.18")
16+
implementation("ch.qos.logback:logback-classic:1.5.21")
1717
// ***** SOCKET MODE DEPENDENCIES ***** -->
18-
implementation("com.slack.api:bolt:1.45.3")
19-
implementation("com.slack.api:bolt-socket-mode:1.45.3")
18+
implementation("com.slack.api:bolt:1.46.0")
19+
implementation("com.slack.api:bolt-socket-mode:1.46.0")
2020
implementation("javax.websocket:javax.websocket-api:1.1")
2121
implementation("org.glassfish.tyrus.bundles:tyrus-standalone-client:(,1.19]")
2222
// ***** OAUTH DEPENDENCIES *****
23-
implementation("com.slack.api:bolt-jetty:1.45.3")
23+
implementation("com.slack.api:bolt-jetty:1.46.0")
2424
// ***** TEST DEPENDENCIES *****
25-
testImplementation('org.junit.jupiter:junit-jupiter-engine:5.13.3')
26-
testImplementation('org.mockito:mockito-core:5.18.0')
25+
testImplementation('org.junit.jupiter:junit-jupiter-api:6.0.1')
26+
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine:6.0.1')
27+
testImplementation('org.mockito:mockito-core:5.20.0')
2728
}
2829

2930
application {
3031
mainClass = 'Main'
3132
}
3233

33-
tasks.named('test') {
34-
useJUnit()
34+
testing {
35+
suites {
36+
test {
37+
useJUnitJupiter()
38+
}
39+
}
3540
}
3641

3742
spotless {

pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
<plugin>
2020
<groupId>org.apache.maven.plugins</groupId>
2121
<artifactId>maven-surefire-plugin</artifactId>
22-
<version>3.5.3</version>
22+
<version>3.5.4</version>
2323
</plugin>
2424
<plugin>
2525
<groupId>com.diffplug.spotless</groupId>
2626
<artifactId>spotless-maven-plugin</artifactId>
27-
<version>2.45.0</version>
27+
<version>3.1.0</version>
2828
<configuration>
2929
<formats>
3030
<format>
@@ -66,18 +66,18 @@
6666
<dependency>
6767
<groupId>ch.qos.logback</groupId>
6868
<artifactId>logback-classic</artifactId>
69-
<version>1.5.18</version>
69+
<version>1.5.21</version>
7070
</dependency>
7171
<!-- ***** SOCKET MODE DEPENDENCIES ***** -->
7272
<dependency>
7373
<groupId>com.slack.api</groupId>
7474
<artifactId>bolt</artifactId>
75-
<version>1.45.3</version>
75+
<version>1.46.0</version>
7676
</dependency>
7777
<dependency>
7878
<groupId>com.slack.api</groupId>
7979
<artifactId>bolt-socket-mode</artifactId>
80-
<version>1.45.3</version>
80+
<version>1.46.0</version>
8181
</dependency>
8282
<dependency>
8383
<groupId>javax.websocket</groupId>
@@ -93,19 +93,19 @@
9393
<dependency>
9494
<groupId>com.slack.api</groupId>
9595
<artifactId>bolt-jetty</artifactId>
96-
<version>1.45.3</version>
96+
<version>1.46.0</version>
9797
</dependency>
9898
<!-- ***** TEST DEPENDENCIES ***** -->
9999
<dependency>
100100
<groupId>org.junit.jupiter</groupId>
101101
<artifactId>junit-jupiter-engine</artifactId>
102-
<version>5.13.3</version>
102+
<version>6.0.1</version>
103103
<scope>test</scope>
104104
</dependency>
105105
<dependency>
106106
<groupId>org.mockito</groupId>
107107
<artifactId>mockito-core</artifactId>
108-
<version>5.18.0</version>
108+
<version>5.20.0</version>
109109
<scope>test</scope>
110110
</dependency>
111111
</dependencies>

0 commit comments

Comments
 (0)