[#21] add forgejo maven verify action #22
2 changed files with 22 additions and 1 deletions
12
.forgejo/workflows/verify-code.yaml
Normal file
12
.forgejo/workflows/verify-code.yaml
Normal file
|
@ -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
|
11
pom.xml
11
pom.xml
|
@ -85,7 +85,16 @@
|
||||||
</executions>
|
</executions>
|
||||||
<version>3.4.0</version>
|
<version>3.4.0</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<version>2.22.0</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
<version>2.22.0</version>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
|
Loading…
Reference in a new issue