Skip to content

Merge pull request #45 from UnitVectorY-Labs/dependabot/maven/org.moc… #158

Merge pull request #45 from UnitVectorY-Labs/dependabot/maven/org.moc…

Merge pull request #45 from UnitVectorY-Labs/dependabot/maven/org.moc… #158

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
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
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ${{ github.repository }}
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v4