fix(deps): update all non-major dependencies #985
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
| name: Build Recipes | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'recipes/**' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'recipes/**' | |
| # Cancel in-progress runs for the same branch | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| services: | |
| docker: | |
| image: docker:dind | |
| options: --privileged | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| gradle-version: current | |
| cache-read-only: false | |
| cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }} | |
| - name: Cache Gradle dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: gradle-recipes-${{ runner.os }}-${{ hashFiles('recipes/**/gradle/wrapper/gradle-wrapper.properties', 'recipes/**/gradle/libs.versions.toml') }} | |
| restore-keys: | | |
| gradle-recipes-${{ runner.os }}- | |
| # Cache Docker images for testcontainers | |
| - name: Cache Docker images | |
| uses: actions/cache@v4 | |
| with: | |
| path: /var/lib/docker | |
| key: docker-recipes-${{ runner.os }}-${{ hashFiles('recipes/**/gradle/libs.versions.toml') }} | |
| restore-keys: | | |
| docker-recipes-${{ runner.os }}- | |
| # Run all tasks in a single Gradle invocation | |
| - name: Build, Test, and E2E Test | |
| run: | | |
| gradle -p recipes build test e2eTest \ | |
| --build-cache \ | |
| --no-daemon \ | |
| -Dorg.gradle.parallel=true | |
| # Upload test results | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: recipes-test-results | |
| path: | | |
| recipes/**/build/test-results/ | |
| recipes/**/build/reports/tests/ | |
| retention-days: 7 | |
| # Publish test report for PRs | |
| - name: Publish Test Report | |
| uses: mikepenz/action-junit-report@v6 | |
| if: always() && github.event_name == 'pull_request' | |
| with: | |
| report_paths: "recipes/**/build/test-results/**/*.xml" | |
| check_name: "Recipes Test Results" | |
| detailed_summary: true | |
| include_passed: false |