duplicate the deps
@@ -6,6 +6,43 @@ name: Project Management Tasks
on: [ push ]
jobs:
+ Morphia:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v1
+ with:
+ java-version: 11
+ - name: Cache Maven packages
+ uses: actions/cache@v1
+ with:
+ path: ~/.m2
+ key: \${{ runner.os }}-m2-\${{ hashFiles('**/pom.xml') }}
+ restore-keys: \${{ runner.os }}-m2
+ - name: Build with Maven
+ env:
+ MONGODB: 4.4.2
+ run: mvn -B verify --file pom.xml
+ Quality:
+ name: Style Checks
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v1
+ with:
+ java-version: 11
+ - name: Cache Maven packages
+ uses: actions/cache@v1
+ with:
+ path: ~/.m2
+ key: \${{ runner.os }}-m2-\${{ hashFiles('**/pom.xml') }}
+ restore-keys: \${{ runner.os }}-m2
+ - name: Install Plugins
+ run: mvn install -DskipTests --file pom.xml
+ - name: Quality Checks
+ run: mvn -Pquality --file core/pom.xml
Snapshots:
name: Publish Snapshot Artifacts
if: "github.repository == 'MorphiaOrg/morphia'"
