update archrules plugin to 1.x #2
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
| # action for evaluating archrules on a single project repo | |
| name: Nebula ArchRules | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| jobs: | |
| buildmultijdk: | |
| runs-on: ubuntu-latest | |
| name: ArchRules | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup git user | |
| run: | | |
| git config --global user.name "Nebula Plugin Maintainers" | |
| git config --global user.email "nebula-plugins-oss@netflix.com" | |
| - name: Set up JDKs | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 21 | |
| java-package: jdk | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| cache-overwrite-existing: true | |
| build-scan-publish: true | |
| build-scan-terms-of-use-url: 'https://gradle.com/terms-of-service' | |
| build-scan-terms-of-use-agree: 'yes' | |
| - name: Gradle run archrules | |
| run: ./gradlew --stacktrace archRulesConsoleReport archRulesMarkdownReport | |
| - name: Arch Rule Reports stop summary | |
| run: cat build/reports/archrules/report.md > $GITHUB_STEP_SUMMARY | |
| - name: report artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| path: build/reports/archrules/report.md | |
| archive: false |