build(deps): bump lambda/nodejs from 24.2026.02.11.04-arm64 to 24.2026.03.18.16-arm64 in /docker in the docker group across 1 directory #152
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 uses actions that are not certified by GitHub. | |
| # They are provided by a third-party and are governed by | |
| # separate terms of service, privacy policy, and support | |
| # documentation. | |
| # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle | |
| name: Java CI with Gradle | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: 0 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Run Tests | |
| run: ./gradlew test | |
| - name: Run Test Coverage | |
| run: ./gradlew jacocoTestReport | |
| - name: Generate JaCoCo Badge | |
| uses: cicirello/jacoco-badge-generator@v2 | |
| with: | |
| generate-branches-badge: true | |
| jacoco-csv-file: build/reports/jacoco/test/jacocoTestReport.csv | |
| - name: Log coverage percentage | |
| run: | | |
| echo "coverage = ${{ steps.jacoco.outputs.coverage }}" | |
| echo "branches = ${{ steps.jacoco.outputs.branches }}" | |
| - name: Commit the badge (if it changed) | |
| run: | | |
| if [[ `git status --porcelain` ]]; then | |
| git config --local user.name "Github workflow" | |
| git config --local user.email "nowhere@gmail.com" | |
| git add -A | |
| git commit -m "Autogenerated JaCoCo coverage badge" | |
| fi | |
| - name: Push changes | |
| uses: ad-m/github-push-action@master | |
| with: | |
| github_token: ${{ secrets.GH_TOKEN }} | |
| branch: ${{ github.ref }} | |
| - name: Upload JaCoCo coverage report | |
| uses: actions/upload-artifact@v2 | |
| with: | |
| name: jacoco-report | |
| path: target/site/jacoco/ | |
| deploy: | |
| needs: [ build ] | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| environment: production | |
| deploy-2: | |
| needs: [ deploy ] | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| environment: production | |
| deploy-3: | |
| needs: [ deploy-2 ] | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| environment: production | |
| deploy-4: | |
| needs: [ deploy-3 ] | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| environment: production | |
| deploy-5: | |
| needs: [ deploy-4 ] | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| environment: production | |
| deploy-6: | |
| needs: [ deploy-5 ] | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| environment: production | |
| deploy-7: | |
| needs: [ deploy-6 ] | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| environment: production | |
| deploy-8: | |
| needs: [ deploy-7 ] | |
| uses: ./.github/workflows/test.yml | |
| with: | |
| environment: production | |
| get-result: | |
| name: 'Get result' | |
| if: ${{ failure() }} | |
| # if: ${{ failure() | |
| # || (needs.deploy.outputs.status_ok == 'false' | |
| # || needs.deploy-2.outputs.status_ok == 'false' | |
| # || needs.deploy-3.outputs.status_ok == 'false' | |
| # || needs.deploy-4.outputs.status_ok == 'false' | |
| # || needs.deploy-5.outputs.status_ok == 'false' | |
| # || needs.deploy-6.outputs.status_ok == 'false' | |
| # || needs.deploy-7.outputs.status_ok == 'false' | |
| # || needs.deploy-8.outputs.status_ok == 'false') | |
| # }} | |
| needs: [ deploy, deploy-2, deploy-3, deploy-4, deploy-5, deploy-6, deploy-7, deploy-8 ] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Rest outputs | |
| run: | | |
| echo "needs.deploy.outputs.status_ok: ${{ needs.deploy.outputs.status_ok }}" | |
| - name: 'Get result' | |
| id: get-result | |
| run: | | |
| echo 'SEND NOTIFICATION' | |
| echo needs.deploy.result=${{ needs.deploy.result }} | |
| echo needs.deploy-2.result=${{ needs.deploy-2.result }} | |
| echo needs.deploy.outputs.TRIGGERED=${{ needs.deploy.outputs.triggered }} | |
| echo needs.deploy.outputs.TRIGGERED_true=${{ needs.deploy.outputs.triggered == 'true' }} | |
| echo 'TRIGGERED=${{ needs.deploy.outputs.TRIGGERED }}' | |
| echo 'RESULT=${{ needs.deploy.result }}' | |
| echo 'CONCLUSION=${{ needs.deploy.conclusion }}' | |
| echo 'OUTPUTS=${{ toJson(needs.deploy.outputs) }}' |