Skip to content

[Snyk] Upgrade com.github.spotbugs:spotbugs-annotations from 4.8.0 to 4.8.1 #294

[Snyk] Upgrade com.github.spotbugs:spotbugs-annotations from 4.8.0 to 4.8.1

[Snyk] Upgrade com.github.spotbugs:spotbugs-annotations from 4.8.0 to 4.8.1 #294

name: Build with Maven using Earthly
on:
push:
paths-ignore:
- '*.md'
- 'images/**'
pull_request:
paths-ignore:
- '*.md'
- 'images/**'
workflow_dispatch:
jobs:
build:
name: Builds and tests
runs-on: ubuntu-latest
# First run in GitHub actions - verify this
# Afterwards, change to a comment
strategy:
matrix:
include:
- java: 17
- java: 21
steps:
- name: Use Earthly
uses: earthly/actions-setup@v1
with:
version: "latest"
- name: Clone repository
uses: actions/checkout@master
- name: Restore Maven caches
uses: actions/cache@master
env:
cache-name: maven-cache
with:
path: ~/.m2
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Build and test
run: earthly +build-with-maven
- name: Execute run script
run: earthly +run-with-maven