[maven] (deps): Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.3 to 3.2.5 #74
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: Run Tests on Pull Requests | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
- ready_for_review | |
- unlocked | |
branches: | |
- main | |
paths-ignore: | |
- '.github/**' | |
- '.run/**' | |
- 'docs/**' | |
- 'samples/**' | |
- .editorconfig | |
- .gitignore | |
- LICENSE | |
- README.adoc | |
jobs: | |
build-and-test: | |
name: Build and Run Tests | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: '21' | |
- name: Determine Home Directory | |
id: find-home | |
run: | | |
echo "home=$HOME" >> $GITHUB_OUTPUT | |
- name: Cache Maven Local Repo | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.find-home.outputs.home }}/.m2/repository | |
key: ${{ runner.os }}-${{ runner.arch }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-${{ runner.arch }}-maven- | |
- name: Set Up Maven Repo Filters | |
run: | | |
mkdir -p ${{ steps.find-home.outputs.home }}/.m2/repository/.remoteRepositoryFilters/ | |
cp -av ${{ github.workspace }}/.mvn/filters/*.txt ${{ steps.find-home.outputs.home }}/.m2/repository/.remoteRepositoryFilters/ | |
- name: Run Maven Build and Verify | |
# Note: This also builds a container image to ensure image building | |
# continues to work, but does not push it to any registry | |
run: >- | |
./mvnw | |
--batch-mode | |
clean | |
verify | |
-Dquarkus.container-image.build=true | |
-Dquarkus.container-image.push=false |