File tree Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Gradle Checks
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - name : Set up JDK 21
19
+ uses : actions/setup-java@v4
20
+ with :
21
+ java-version : ' 21'
22
+ distribution : ' temurin'
23
+
24
+ # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
25
+ # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
26
+ - name : Setup Gradle
27
+ uses : gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
28
+
29
+ - name : Build with Gradle Wrapper
30
+ run : ./gradlew check
31
+
32
+ dependency-submission :
33
+
34
+ runs-on : ubuntu-latest
35
+ permissions :
36
+ contents : write
37
+
38
+ steps :
39
+ - uses : actions/checkout@v4
40
+ - name : Set up JDK 21
41
+ uses : actions/setup-java@v4
42
+ with :
43
+ java-version : ' 21'
44
+ distribution : ' temurin'
45
+
46
+ # Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies.
47
+ # See: https://github.com/gradle/actions/blob/main/dependency-submission/README.md
48
+ - name : Generate and submit dependency graph
49
+ uses : gradle/actions/dependency-submission@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
Original file line number Diff line number Diff line change 27
27
targetCompatibility = JavaVersion .VERSION_21
28
28
29
29
toolchain {
30
- languageVersion = JavaLanguageVersion .of(23 )
30
+ languageVersion = JavaLanguageVersion .of(21 )
31
31
}
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments