Skip to content

Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.5 to 4.7.3.6 #220

Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.5 to 4.7.3.6

Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.5 to 4.7.3.6 #220

name: Build with Gradle 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
steps:
- name: Use Earthly
uses: earthly/actions-setup@v1
with:
version: "latest"
- name: Clone repository
uses: actions/checkout@master
- name: Restore Gradle caches
uses: actions/cache@master
env:
cache-name: gradle-cache
with:
path: ~/.gradle
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{hashFiles('**/build.gradle') }}
# TODO: See discussion: https://github.com/jeremylong/DependencyCheck/issues/2560#issuecomment-702098748
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Build and test
run: earthly +build-with-gradle
- name: Execute run script
run: earthly +run-with-gradle