Skip to content

Bump the maven-version group with 2 updates #50

Bump the maven-version group with 2 updates

Bump the maven-version group with 2 updates #50

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Run Tests
on:
pull_request:
branches: [ "main" ]
paths:
- "src/**"
- "pom.xml"
push:
branches: [ "main" ]
paths:
- "src/**"
- "pom.xml"
jobs:
build:
runs-on: ubuntu-latest
# Configure your build (see README for more information)
env:
APP_NAME: kafka-synth-client
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Run Unit Tests
run: mvn clean test
- name: Test Building Container Image
run: mvn package -DskipTests -Dquarkus.jib.base-jvm-image=eclipse-temurin:21-jre-jammy -Dquarkus.container-image.name=$APP_NAME -Dquarkus.container-image.push=false -Dquarkus.container-image.build=true -Dquarkus.container-image.tag=${{ github.sha }} -Dquarkus.container-image.group=ghcr.io/${{ github.repository_owner }}