Translations update from Hosted Weblate #345
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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Install dependencies for acknowledgments script | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y jq curl | |
| - name: Generate acknowledgments data | |
| run: | | |
| chmod +x scripts/generate-acknowledgments.sh | |
| ./scripts/generate-acknowledgments.sh | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build JAR without tests | |
| run: mvn compile package -DskipTests | |
| - name: Create bundle | |
| run: mkdir staging && cp target/*.jar staging | |
| - name: Upload JAR artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: jar-artifact | |
| path: staging/ | |
| retention-days: 1 | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Run unit tests | |
| run: mvn test | |
| env: | |
| DOCKER_HOST: unix:///var/run/docker.sock | |
| SPRING_PROFILES_ACTIVE: test,ci | |
| - name: Upload coverage reports as artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-reports | |
| path: | | |
| target/site/jacoco/ | |
| retention-days: 30 |