From db0d6080dc322eca00c1a76073cc7426017a4fe6 Mon Sep 17 00:00:00 2001 From: Pierre-Charles David Date: Wed, 1 Apr 2026 09:32:12 +0200 Subject: [PATCH] [releng] Update and pin GitHub Actions Signed-off-by: Pierre-Charles David --- .github/workflows/build.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a056a3..9b91feb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,8 @@ -name: Build +name: Build with Maven on: push: + branches: [ master ] pull_request: workflow_dispatch: @@ -11,18 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Setup Java - uses: actions/setup-java@v4 + uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 with: distribution: 'temurin' java-version: 17 cache: 'maven' - - name: Setup Display - run: | - sudo apt-get install mutter dbus-x11 - dbus-launch --auto-syntax > dbus-env - . dbus-env - mutter --no-x11 --headless --virtual-monitor 1920x1080 & - name: Build - run: ./mvnw -B -ntp clean verify + run: xvfb-run ./mvnw -B -ntp clean verify