⚡ Bolt: [performance improvement] Replace regex String.replaceFirst with literal String.replace in TestFolderPathPattern #514
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: MoreUnit Build | |
| on: | |
| push: | |
| branches: [ master ] | |
| tags : ['*'] | |
| pull_request: | |
| branches: [ master ] | |
| permissions: write-all | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| permissions: | |
| checks: write | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout 🛎 | |
| uses: actions/checkout@v6 | |
| - name: Set up Java ☕️ | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: 'maven' | |
| - name: Setup Maven | |
| uses: stCarolas/setup-maven@v5 | |
| with: | |
| maven-version: 3.9.9 | |
| - name: Build and verify | |
| run: mvn -file org.moreunit.build/pom.xml clean install "-Dtarget.platform.classifier=eclipse-latest" --fail-at-end --batch-mode --strict-checksums --update-snapshots "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" | |
| - name: Run PMD and CPD checks | |
| run: mvn -file org.moreunit.build/pom.xml pmd:check pmd:cpd-check | |
| - name: Publish Surefire Test Results for 🖨 | |
| if: ${{ always() }} | |
| uses: ScaCap/action-surefire-report@v1 | |
| with: | |
| check_name: test results | |
| - name: Flatten P2 repository | |
| uses: RoiSoleil/flatten-p2-repo@main | |
| with: | |
| repository-path: "./org.moreunit.updatesite/target/repository/" | |
| - name: Release SNAPSHOT | |
| if: github.ref == 'refs/heads/master' | |
| uses: "marvinpinto/action-automatic-releases@latest" | |
| with: | |
| repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
| automatic_release_tag: "snapshot" | |
| prerelease: true | |
| title: "Development Build" | |
| files: | | |
| ./org.moreunit.updatesite/target/org.moreunit.updatesite-*.zip | |
| ./org.moreunit.updatesite/target/flat-repository/* | |
| - name: Release RELEASE | |
| if: startsWith(github.ref, 'refs/tags/') | |
| uses: softprops/action-gh-release@v3 | |
| with: | |
| files: | | |
| ./org.moreunit.updatesite/target/org.moreunit.updatesite-*.zip | |
| ./org.moreunit.updatesite/target/flat-repository/* |