Skip to content

Merge pull request #306 from luisgoncalves/dependabot/maven/org.junit… #176

Merge pull request #306 from luisgoncalves/dependabot/maven/org.junit…

Merge pull request #306 from luisgoncalves/dependabot/maven/org.junit… #176

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: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
name: Java ${{ matrix.java }}
strategy:
matrix:
java: [11, 16, 17]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build with Maven
run: mvn -B test --file pom.xml