Skip to content

Merge pull request #16 from UnitVectorY-Labs/dependabot/maven/com.goo… #75

Merge pull request #16 from UnitVectorY-Labs/dependabot/maven/com.goo…

Merge pull request #16 from UnitVectorY-Labs/dependabot/maven/com.goo… #75

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: corretto
cache: maven
- name: Build with Maven
run: mvn package -ntp -Peverything
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.6.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ${{ github.repository }}
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v4
with:
maven-args: "-Peverything"