Show the terms of use as native forms text #82
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Verify | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "**" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: Set up Maven 3.9.9 | |
| uses: stCarolas/setup-maven@v5 | |
| with: | |
| maven-version: '3.9.9' | |
| # The workbench tests need an X display | |
| - name: Install Xvfb | |
| run: sudo apt-get update && sudo apt-get install -y xvfb | |
| # A throwaway key, so that the signing step of the release is exercised on | |
| # every build without the release key ever leaving the release workflow. | |
| - name: Prepare a throwaway signing key | |
| run: | | |
| export GNUPGHOME=$(mktemp -d) | |
| gpg --batch --pinentry-mode loopback --passphrase ci-only \ | |
| --quick-generate-key "usagedata CI <ci@vogella.com>" ed25519 sign 1d | |
| gpg --batch --pinentry-mode loopback --passphrase ci-only \ | |
| --armor --export-secret-keys > "$RUNNER_TEMP/signing-key.asc" | |
| - name: Build with Maven | |
| env: | |
| MAVEN_GPG_PASSPHRASE: ci-only | |
| run: | | |
| xvfb-run -a mvn -B verify -Dgpg.skip=false \ | |
| -Dtycho.pgp.signer.bc.secretKeys=$RUNNER_TEMP/signing-key.asc |