We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b19b0b0 commit 120f1e9Copy full SHA for 120f1e9
1 file changed
.github/workflows/docker-image.yml
@@ -9,6 +9,7 @@ on:
9
jobs:
10
build:
11
runs-on: ubuntu-latest
12
+ needs: analyze
13
14
steps:
15
- name: Checkout repository
@@ -30,3 +31,31 @@ jobs:
30
31
context: .
32
push: true
33
tags: manojkumar8008/javafile:123
34
+ analyze:
35
+ name: Analyze
36
+ runs-on: ubuntu-latest
37
+
38
+ permissions:
39
+ security-events: write # Required for CodeQL to upload results
40
+ actions: read
41
+ contents: read
42
43
+ strategy:
44
+ fail-fast: false
45
+ matrix:
46
+ language: [ 'java' ]
47
48
+ steps:
49
+ - name: Checkout repository
50
+ uses: actions/checkout@v4
51
52
+ - name: Initialize CodeQL
53
+ uses: github/codeql-action/init@v3
54
+ with:
55
+ languages: ${{ matrix.language }}
56
57
+ - name: Build with Gradle/Maven
58
+ run: mvn compile
59
60
+ - name: Perform CodeQL Analysis
61
+ uses: github/codeql-action/analyze@v3
0 commit comments