File tree 2 files changed +13
-12
lines changed
2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: "CodeQL"
2
2
3
3
on :
4
4
push :
5
- branches : ["main"]
5
+ branches : [ "main" ]
6
6
pull_request :
7
- branches : ["main"]
7
+ branches : [ "main" ]
8
8
9
9
jobs :
10
10
analyze :
19
19
strategy :
20
20
fail-fast : false
21
21
matrix :
22
- language : ["java-kotlin"]
22
+ language : [ "java-kotlin" ]
23
23
24
24
steps :
25
25
- name : Checkout repository
42
42
- name : Perform CodeQL Analysis
43
43
uses : github/codeql-action/analyze@v2
44
44
with :
45
- category : " /language:${{matrix.language}}"
45
+ category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 1
- name : Run Unit-Tests
1
+ name : " Run Unit-Tests"
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - main
5
+ branches : [ "main" ]
7
6
pull_request :
8
- branches :
9
- - main
7
+ branches : [ "main" ]
8
+
10
9
11
10
jobs :
12
11
unit-tests :
13
12
runs-on : ubuntu-latest
14
13
permissions :
14
+ actions : read
15
15
contents : read
16
16
steps :
17
17
- name : Checkout Repo
18
18
uses : actions/checkout@v4
19
19
- name : Set up JDK 17
20
20
uses : actions/setup-java@v4
21
21
with :
22
- distribution : ' oracle'
23
- java-version : ' 17 '
22
+ distribution : " oracle"
23
+ java-version : " 17 "
24
24
- name : Setup Gradle
25
25
uses : gradle/actions/setup-gradle@v3
26
26
- name : Run test suites
27
- run : ./gradlew test
27
+ run : ./gradlew test
28
+
You can’t perform that action at this time.
0 commit comments