Bump the dependencies group with 9 updates (#205) #481
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: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: build-jdk-${{ matrix.version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [17, 21] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.version }} | |
- name: Cache m2 repo | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-${{ matrix.version }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.version }}-maven- | |
- name: Build | |
run: ./mvnw --batch-mode install | |
- name: Run spotbugs check | |
run: ./mvnw spotbugs:spotbugs |