diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 04ceb6e..daec318 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,4 +3,4 @@ updates: - package-ecosystem: "maven" directory: "/" schedule: - interval: "weekly" + interval: "daily" diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 6e3bfd5..02daf8a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,22 +1,28 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - name: Java CI with Maven on: workflow_dispatch: + push: + pull_request: jobs: build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 - runs-on: self-hosted + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'temurin' + cache: maven - steps: - - uses: actions/checkout@v4 - name: Build with Maven - run: mvn clean install -U + run: mvn compile + + - name: Test with Maven + run: mvn test + + - name: Package with maven + run: mvn package diff --git a/pom.xml b/pom.xml index f093972..209ed6d 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.ndviet test-parent-pom - ${revision} + 23.11.11 ../test-parent-pom/pom.xml @@ -23,6 +23,7 @@ + 1.0.0-SNAPSHOT test-automation-fwk