Matthias Andreas Benkard | 9bd65ff | 2024-07-05 21:51:13 +0200 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: © 2023 Matthias Andreas Benkard <code@mail.matthias.benkard.de> |
| 2 | # |
| 3 | # SPDX-License-Identifier: LGPL-3.0-or-later |
| 4 | |
Matthias Benkard | 526cebe | 2023-01-09 09:49:34 +0000 | [diff] [blame] | 5 | stages: |
| 6 | - check |
| 7 | |
| 8 | image: maven:3-openjdk-17 |
| 9 | |
| 10 | verify: |
| 11 | stage: check |
| 12 | script: |
| 13 | - mvn verify |
| 14 | |
| 15 | sast: |
| 16 | stage: check |
| 17 | |
| 18 | cache: |
| 19 | key: $CI_JOB_NAME |
| 20 | paths: |
| 21 | - .m2/repository |
| 22 | |
| 23 | variables: |
| 24 | MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" |
| 25 | MAVEN_CLI_OPTS: "--batch-mode --errors" |
| 26 | |
| 27 | include: |
| 28 | - template: Security/SAST.gitlab-ci.yml |