Skip to content

Commit 3b677d0

Browse files
changed Makefile, build.yml
1 parent de1e1b2 commit 3b677d0

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

.github/workflows/blank.yml renamed to .github/workflows/build.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,12 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
with:
15-
fetch-depth: 0
15+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1616
- name: Set up JDK 21
1717
uses: actions/setup-java@v4
1818
with:
19-
java-version: '21'
20-
distribution: 'temurin'
21-
- uses: gradle/gradle-build-action@v2
22-
with:
23-
gradle-version: 8.8
24-
arguments: build
25-
build-root-directory: app
19+
java-version: 21
20+
distribution: 'temurin' # Alternative distribution options are available
2621
- name: Cache SonarQube packages
2722
uses: actions/cache@v4
2823
with:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ start:
1515

1616
test:
1717
make -C app test
18-
.PHONY: build
18+
.PHONY: build

app/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ start:
1414

1515
test:
1616
./gradlew test
17-
.PHONY: build
17+
.PHONY: build

0 commit comments

Comments
 (0)