only count relevant code changes #393
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify Commits | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
verify: | |
name: Build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
steps: | |
- id: checkout | |
name: Clone Git Repository | |
uses: actions/checkout@v4 | |
- id: graal | |
name: Set up GraalVM | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
version: latest | |
java-version: 21 | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- id: cache | |
name: Cache Maven Repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- id: verify | |
name: Verify Project | |
run: mvn --batch-mode --define skipNativeBuild=false verify |