(chore) Update translations from Transifex #2127
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: "OWASP Dependency Check" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| dependencycheck: | |
| runs-on: ubuntu-latest | |
| # a stalled NVD feed download otherwise runs until the 6 hour GitHub default; normal runs | |
| # take 3-8 minutes with occasional NVD-update tails up to ~35, so 60 clears the worst observed | |
| timeout-minutes: 60 | |
| name: dependencycheck_test | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7.0.0 | |
| - name: Set up Java version | |
| uses: actions/setup-java@v5.6.0 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| - name: Build project with Maven | |
| run: mvn clean install -DskipTests | |
| - name: Run OWASP Dependency-Check | |
| uses: dependency-check/Dependency-Check_Action@main | |
| id: Depcheck | |
| env: | |
| JAVA_HOME: /opt/jdk | |
| with: | |
| project: 'openmrs-core' | |
| path: '.' | |
| format: 'ALL' | |
| out: 'reports' | |
| args: > | |
| --failOnCVSS 6.2 | |
| --enableRetired | |
| --suppression dependency-check-suppressions.xml | |
| ${{ secrets.NVD_API_KEY != '' && format('--nvdApiKey {0}', secrets.NVD_API_KEY) || '' }} | |
| - name: Upload Test results | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: Dependency Check report | |
| path: ${{github.workspace}}/reports |