diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..7515e19 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17.0.2 + uses: actions/setup-java@v4 + with: + java-version: 17.0 + distribution: 'zulu' + cache: 'maven' + - name: Compile + run: mvn -B package --file pom.xml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}