Upgrade Azure SDK BOM to 1.3.6 and pin msal4j 1.24.1 for sovereign cl… #1784
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
| # This workflow will install the dependencies, run tests and lint every push | |
| name: Build Java | |
| on: | |
| push: | |
| branches: [ 'master' ] | |
| pull_request: | |
| branches: [ '**' ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| environment: build | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| id-token: write | |
| contents: read | |
| strategy: | |
| matrix: | |
| java: ['8', '11','17','21'] | |
| name: Java ${{ matrix.java }} | |
| steps: | |
| - name: Azure login | |
| uses: azure/login@v2 | |
| with: | |
| client-id: ${{ secrets.APP_ID }} | |
| tenant-id: ${{ secrets.TENANT_ID }} | |
| subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
| - uses: actions/checkout@v4 | |
| - name: Setup java ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt' | |
| java-version: ${{ matrix.java }} | |
| cache: 'maven' | |
| - name: Run formatter | |
| run: mvn formatter:validate | |
| continue-on-error: true | |
| - name: Run the Maven verify phase | |
| run: mvn verify | |
| env: | |
| DM_CONNECTION_STRING: ${{ secrets.DM_CONNECTION_STRING }} | |
| ENGINE_CONNECTION_STRING: ${{ secrets.ENGINE_CONNECTION_STRING }} | |
| TEST_DATABASE: ${{ secrets.TEST_DATABASE }} | |
| APP_ID: ${{ secrets.APP_ID }} | |
| TENANT_ID: ${{ secrets.TENANT_ID }} | |
| CI_EXECUTION: 1 | |
| - name: Publish Unit Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| if: always() | |
| with: | |
| files: | | |
| data/target/surefire-reports/*.xml | |
| ingest/target/surefire-reports/*.xml | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 |