You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The branches below must be a subset of the branches above
10
+
branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' ]
14
11
workflow_dispatch:
15
12
16
13
jobs:
@@ -33,46 +30,54 @@ jobs:
33
30
- name: Checkout repository
34
31
uses: actions/checkout@v4
35
32
36
-
# Initializes the CodeQL tools for scanning.
37
-
- name: Initialize CodeQL
38
-
uses: github/codeql-action/init@v3
39
-
with:
40
-
languages: ${{ matrix.language }}
41
-
# If you wish to specify custom queries, you can do so here or in a config file.
42
-
# By default, queries listed here will override any specified in a config file.
43
-
# Prefix the list here with "+" to use these queries and those in the config file.
44
-
45
-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
46
-
queries: +security-and-quality
47
-
48
-
49
-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
50
-
# If this step fails, then you should remove it and run the build manually (see below)
51
-
52
-
# -name: Autobuild
53
-
# uses: github/codeql-action/autobuild@v3
54
-
55
-
# Command-line programs to run using the OS shell.
56
-
# See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
57
-
58
-
# If the Autobuild fails above, remove it and uncomment the following three lines.
59
-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
60
-
61
-
# - run: |
62
-
# echo "Run, Build Application using script"
63
-
# ./location_of_script_within_repo/buildscript.sh
64
-
65
-
# Note: Autobuild fails thus the following manual build
66
-
- name: Manual Build With Java 17
33
+
- name: Setup Java
67
34
uses: actions/setup-java@v4
68
35
with:
69
-
java-version: '17'
70
36
distribution: 'temurin'
37
+
cache: 'maven'
38
+
java-version: '17'
71
39
72
-
- name: Java Compile
73
-
run: mvn clean compile
40
+
- name: Initialize CodeQL
41
+
uses: github/codeql-action/init@v3
42
+
with:
43
+
languages: ${{ matrix.language }}
44
+
queries: +security-and-quality
45
+
46
+
# If you wish to specify custom queries, you can do so here or in a config file.
47
+
# By default, queries listed here will override any specified in a config file.
48
+
# Prefix the list here with "+" to use these queries and those in the config file.
49
+
# Details on CodeQL's query packs refer to link below.
0 commit comments