Drop simple-core and use HttpServer for TaskoXmlRpcServer
#16868
Workflow file for this run
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: Java checkstyle | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'java/**.java' | |
| - 'java/**.xml' | |
| - '.github/workflows/java-checkstyle.yml' | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| paths: | |
| # We also trigger on non-java code changes since this triggers sonarcloud scanner after | |
| - '**.py' | |
| - 'web/html/src/**.ts' | |
| - 'web/html/src/**.tsx' | |
| - 'java/**.java' | |
| - 'java/**.xml' | |
| - '.github/workflows/java-checkstyle.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| checkstyle: | |
| runs-on: ubuntu-latest | |
| container: registry.opensuse.org/systemsmanagement/uyuni/master/docker/containers/uyuni-master-pgsql:latest | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0 | |
| - name: Cache dependencies | |
| id: cache-dependencies | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 #v4.3.0 | |
| with: | |
| path: java/lib | |
| key: ${{ runner.os }}-java-lib-${{ hashFiles('java/buildconf/ivy/*.*') }} | |
| - name: Resolve dependencies | |
| if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
| run: | | |
| ant -f java/manager-build.xml ivy | |
| - name: Run checkstyle | |
| run: ant -f java/manager-build.xml checkstyle | |
| - name: Compress build results | |
| run: tar cf java-build.tar.gz java/build java/lib | |
| - name: Save PR data to file | |
| run: | | |
| echo "PR_NUMBER=${{ github.event.number }}" >>pr_data | |
| echo "PR_BASE=${{ github.event.pull_request.base.ref }}" >>pr_data | |
| - name: Archive Java build artifacts | |
| uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 #v5.0.0 | |
| with: | |
| name: java-built-files | |
| path: | | |
| java-build.tar.gz | |
| pr_data |