Skip to content

Commit 78eada1

Browse files
committed
ok, one more
1 parent 6dc4bd9 commit 78eada1

File tree

3 files changed

+14
-27
lines changed

3 files changed

+14
-27
lines changed

.github/workflows/checks.yaml

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -62,47 +62,29 @@ jobs:
6262
- uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0
6363
with:
6464
github_token: ${{ secrets.GITHUB_TOKEN }}
65+
- name: Cache Maven packages
66+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
67+
with:
68+
path: ~/.m2
69+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
70+
restore-keys: ${{ runner.os }}-m2
6571
- name: Set up JDK
6672
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
6773
with:
68-
java-version: "11"
74+
java-version: "17"
6975
distribution: "adopt"
7076
server-id: github
7177
- name: Maven Verify
7278
run: mvn --batch-mode verify
7379
env:
7480
BUF_INPUT_HTTPS_USERNAME: opentdf-bot
7581
BUF_INPUT_HTTPS_PASSWORD: ${{ secrets.PERSONAL_ACCESS_TOKEN_OPENTDF }}
76-
77-
sonarcloud:
78-
name: SonarCloud Scan
79-
runs-on: ubuntu-22.04
80-
steps:
81-
- name: Check out repository
82-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
83-
with:
84-
fetch-depth: 0
85-
- uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0
86-
with:
87-
github_token: ${{ secrets.GITHUB_TOKEN }}
88-
- name: Set up JDK
89-
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
90-
with:
91-
java-version: "17"
92-
distribution: "temurin"
93-
server-id: github
9482
- name: Cache SonarCloud packages
9583
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
9684
with:
9785
path: ~/.sonar/cache
9886
key: ${{ runner.os }}-sonar
9987
restore-keys: ${{ runner.os }}-sonar
100-
- name: Cache Maven packages
101-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
102-
with:
103-
path: ~/.m2
104-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
105-
restore-keys: ${{ runner.os }}-m2
10688
- name: Maven Test Coverage
10789
env:
10890
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<packaging>pom</packaging>
1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<maven.compiler.source>11</maven.compiler.source>
16-
<maven.compiler.target>11</maven.compiler.target>
15+
<maven.compiler.source>17</maven.compiler.source>
16+
<maven.compiler.target>17</maven.compiler.target>
1717
<log4j.version>2.20.0</log4j.version>
1818
<grpc.version>1.68.0</grpc.version>
1919
<protobuf.version>4.29.2</protobuf.version>

sdk/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,11 @@
625625
<goals>
626626
<goal>report</goal>
627627
</goals>
628+
<configuration>
629+
<formats>
630+
<format>XML</format>
631+
</formats>
632+
</configuration>
628633
</execution>
629634
</executions>
630635
</plugin>

0 commit comments

Comments
 (0)