Combined dependency updates (2025-12-02) #235
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: Test sharpen-action | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Select Java Version | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '8' | |
| cache: 'maven' | |
| - name: Convert test project to C# | |
| uses: javiertuya/sharpen-action@main | |
| with: | |
| working-dir: 'test' | |
| project-dir: 'src/main/java' | |
| sharpen-args: '@sharpen-all-options.txt' | |
| - name: Test converted files | |
| run: cd test && mvn test --no-transfer-progress -Dmaven.test.failure.ignore=true | |
| - name: Publish test report | |
| if: always() | |
| uses: mikepenz/action-junit-report@v6.0.1 | |
| with: | |
| check_name: test-report | |
| report_paths: '**/target/surefire-reports/TEST-*.xml' | |
| fail_on_failure: 'true' | |
| - name: Publish converted sources & test report files | |
| if: always() | |
| uses: actions/upload-artifact@v5.0.0 | |
| with: | |
| name: converted sources & test reports | |
| path: | | |
| test/src/main/main.net | |
| test/target/*.html | |
| test/target/surefire-reports |