diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1bbfca8..82071b7 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -15,7 +15,7 @@ on: branches: [ "main" ] jobs: - build: + build-and-test: runs-on: ubuntu-latest @@ -27,12 +27,9 @@ jobs: java-version: '19' distribution: 'temurin' cache: maven + - name: Build with Maven run: cd CA4 && mvn -B package --file pom.xml - name: Run tests run: cd CA4 && mvn test - -# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - - name: Update dependency graph - uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6