aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: ec994fbdd85a157366cd7d69b09649361c6dd535 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# SPDX-FileCopyrightText: © 2021-2023 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
#
# SPDX-License-Identifier: LGPL-3.0-or-later

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