From a91649ab30757893aae7a6cbf839597005be27ce Mon Sep 17 00:00:00 2001 From: Marius Stavrum Klepp Date: Thu, 12 Feb 2026 11:36:18 +0100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b70d466..0479a5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,24 +2,26 @@ name: CI on: push: - branches: [ "main", "master" ] pull_request: - branches: [ "main", "master" ] + branches: [ "main" ] workflow_dispatch: jobs: build: + name: Build & Test runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up JDK + - name: Set up JDK 25 uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: '25' + distribution: temurin + java-version: "25" + cache: maven - name: Build and test with Maven - run: mvn -B verify + run: mvn -B clean verify +