From 64e275713f1c92d6415d588a57ccf086a58d5d9c Mon Sep 17 00:00:00 2001 From: Bruk Ori Date: Tue, 29 Oct 2024 13:18:18 +0300 Subject: [PATCH] [#21] add forgejo maven verify action Signed-off-by: Ori Bruk --- .forgejo/workflows/verify-code.yaml | 12 ++++++++++++ pom.xml | 11 ++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .forgejo/workflows/verify-code.yaml diff --git a/.forgejo/workflows/verify-code.yaml b/.forgejo/workflows/verify-code.yaml new file mode 100644 index 0000000..bb54d65 --- /dev/null +++ b/.forgejo/workflows/verify-code.yaml @@ -0,0 +1,12 @@ +name: Verify code phase +on: [pull_request] + +jobs: + verify-code: + name: Verify code + runs-on: docker + container: git.frostfs.info/truecloudlab/env:openjdk-11-maven-3.8.6 + steps: + - uses: actions/checkout@v3 + - name: Run the Maven verify phase + run: mvn --batch-mode --update-snapshots verify diff --git a/pom.xml b/pom.xml index 0f6fc39..b8d61db 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,16 @@ 3.4.0 - + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.0 + + + org.apache.maven.plugins + maven-failsafe-plugin + 2.22.0 + org.apache.maven.plugins maven-resources-plugin