Skip to content

Commit 040e378

Browse files
authored
Add gradle caching (#974)
Fix log statement
1 parent 6bc8517 commit 040e378

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/check-backend.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ jobs:
3131
distribution: 'adopt'
3232
java-version: '17'
3333

34-
- name: Check
35-
run: ./gradlew test :hivemq-edge:forbiddenApis :hivemqEdgeZip :jacocoMergedReport
34+
- uses: burrunan/gradle-cache-action@663fbad34e03c8f12b27f4999ac46e3d90f87eca # v3.0.1
35+
name: Build container
36+
with:
37+
arguments: :test :hivemq-edge:forbiddenApis :hivemqEdgeZip :jacocoMergedReport
38+
gradle-version: wrapper
3639

3740
- name: Publish Test Results
3841
uses: EnricoMi/publish-unit-test-result-action@afb2984f4d89672b2f9d9c13ae23d53779671984

hivemq-edge/src/main/java/com/hivemq/edge/impl/remote/HiveMQEdgeHttpServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ private static boolean validRemote(@NotNull String remote){
378378
return false;
379379
}
380380
try {
381-
URL url = new URL(remote);
381+
new URL(remote);
382382
return true;
383383
} catch(MalformedURLException e){
384384
return false;

0 commit comments

Comments
 (0)