From f783d7c3fc9ebbd64e6bf14726de4e89243f774a Mon Sep 17 00:00:00 2001 From: Markus Friedrich Date: Thu, 16 May 2024 11:53:35 +0200 Subject: [PATCH] [TASK] Configure GitHub actions Adds initial GitHub actions workflow to test the package builds. Resolves: #26 --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..75965fe --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: Solr TYPO3 Plugin Tests + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 11 for x64 + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'temurin' + architecture: x64 + + - name: Build with Maven + run: mvn -B package --file pom.xml + + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6