Skip to content

Set s3mock dependency scope to test to prevent runtime initialization… #352

Set s3mock dependency scope to test to prevent runtime initialization…

Set s3mock dependency scope to test to prevent runtime initialization… #352

Workflow file for this run

name: source-update
on:
workflow_dispatch:
push:
branches-ignore: ['main', 'integration']
paths:
- 'src/**'
- 'pom.xml'
- '.github/workflows/source.yml'
jobs:
buildtest:
runs-on: ubuntu-20.04
# strategy:
# matrix:
# java: [ '8' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'
- name: Test with Maven
run: mvn --batch-mode test