We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bca6814 commit e3f3ed1Copy full SHA for e3f3ed1
1 file changed
.github/workflows/mavensemagrep.yml
@@ -0,0 +1,29 @@
1
+name: Java CI with Maven
2
+on:
3
+ push:
4
+ branches: [ "master" ]
5
+ pull_request:
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - name: Set up JDK 17
13
+ uses: actions/setup-java@v4
14
+ with:
15
+ java-version: '17'
16
+ distribution: 'temurin'
17
+ cache: maven
18
+ - name: Build with Maven
19
+ run: mvn -B package --file pom.xml
20
+ semgrep:
21
+ name: semgrep/ci
22
23
+ container:
24
+ image: semgrep/semgrep
25
26
27
+ - run: semgrep ci --sarif > semgrep.sarif
28
+ env:
29
+ SEMGREP_APP_TOKEN: "5c987b2659a3189e9ce64a51800e3386ebc42a025d274467cc33afcbc129a50a"
0 commit comments