Skip to content

Merge pull request #24 from toolforgeio/dependabot/github_actions/act… #35

Merge pull request #24 from toolforgeio/dependabot/github_actions/act…

Merge pull request #24 from toolforgeio/dependabot/github_actions/act… #35

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3.13.0
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Cache Maven packages
uses: actions/cache@v3.3.1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and analyze
run: |
mvn \
-B \
clean \
verify \
-Ddocker.skip=true \
--file pom.xml