summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2023-03-24 10:52:59 +0100
committerGitHub <noreply@github.com>2023-03-24 10:52:59 +0100
commit69574ef3633171e1797a97186513cb26dc51a3fc (patch)
treedde8aac6c77ac91a46ec1a6299a684ed79981a92 /.gitlab-ci.yml
parent0c4bbce114364c4af10fe1d05cf2157434150f23 (diff)
parentd979a7a028bfc543ef4d2d524b541db2ec4849c9 (diff)
Merge branch 'master' into jakarta-json
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..3f0dba2
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,24 @@
+stages:
+ - check
+
+image: maven:3-openjdk-17
+
+verify:
+ stage: check
+ script:
+ - mvn verify
+
+sast:
+ stage: check
+
+cache:
+ key: $CI_JOB_NAME
+ paths:
+ - .m2/repository
+
+variables:
+ MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
+ MAVEN_CLI_OPTS: "--batch-mode --errors"
+
+include:
+ - template: Security/SAST.gitlab-ci.yml