diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d22bcea..fb3bb77 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,15 +13,13 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 21 - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: 'maven' - - - name: Run Maven Tests - run: mvn clean test + - name: Run Maven Tests in Docker + run: | + docker run --rm \ + -v ${{ github.workspace }}:/app \ + -w /app \ + maven:3.9.6-eclipse-temurin-21 \ + mvn clean test deploy: name: Build & Run in Docker Container