mirror of
https://github.com/gradle/actions.git
synced 2026-06-21 11:00:39 +00:00
84552f9732
Bumps the github-actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [gradle/actions](https://github.com/gradle/actions) and [actions/setup-java](https://github.com/actions/setup-java). Bumps the github-actions group with 1 update in the /.github/actions/init-integ-test directory: [actions/setup-java](https://github.com/actions/setup-java). Updates `actions/checkout` from 6.0.3 to 7.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/df4cb1c069e1874edd31b4311f1884172cec0e10...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0) Updates `gradle/actions` from 6.1.0 to 6.2.0 - [Release notes](https://github.com/gradle/actions/releases) - [Commits](https://github.com/gradle/actions/compare/50e97c2cd7a37755bbfafc9c5b7cafaece252f6e...3f131e8634966bd73d06cc69884922b02e6faf92) Updates `actions/setup-java` from 5.2.0 to 5.3.0 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/be666c2fcd27ec809703dec50e508c2fdc7f6654...ad2b38190b15e4d6bdf0c97fb4fca8412226d287) Updates `actions/setup-java` from 5.2.0 to 5.3.0 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/be666c2fcd27ec809703dec50e508c2fdc7f6654...ad2b38190b15e4d6bdf0c97fb4fca8412226d287) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: gradle/actions dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: actions/setup-java dependency-version: 5.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: actions/setup-java dependency-version: 5.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
81 lines
2.4 KiB
YAML
81 lines
2.4 KiB
YAML
name: CI-integ-test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'release/**'
|
|
- 'dev/**' # Allow running tests on dev branches without a PR
|
|
paths-ignore:
|
|
- 'dist/**'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-distribution:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
- name: Build and upload distribution
|
|
if: ${{ needs.determine-suite.outputs.suite != 'full' }}
|
|
uses: ./.github/actions/build-dist
|
|
|
|
caching-integ-tests:
|
|
needs: build-distribution
|
|
uses: ./.github/workflows/suite-integ-test-caching.yml
|
|
concurrency:
|
|
group: CI-integ-test-caching-${{ github.ref }}
|
|
cancel-in-progress: false
|
|
with:
|
|
skip-dist: false
|
|
secrets: inherit
|
|
|
|
other-integ-tests:
|
|
permissions:
|
|
contents: write
|
|
needs: caching-integ-tests
|
|
uses: ./.github/workflows/suite-integ-test-other.yml
|
|
concurrency:
|
|
group: CI-integ-test-other-${{ github.ref }}
|
|
cancel-in-progress: false
|
|
with:
|
|
skip-dist: false
|
|
secrets: inherit
|
|
|
|
dependency-submission-integ-tests:
|
|
permissions:
|
|
contents: write
|
|
needs: other-integ-tests
|
|
uses: ./.github/workflows/suite-integ-test-dependency-submission.yml
|
|
concurrency:
|
|
group: CI-integ-test-dependency-submission-${{ github.ref }}
|
|
cancel-in-progress: false
|
|
with:
|
|
skip-dist: false
|
|
secrets: inherit
|
|
|
|
# Aggregate gate: a single check that succeeds only when all integ-test jobs succeed.
|
|
# Require this one check in branch protection instead of every fanned-out matrix job.
|
|
integ-test-success:
|
|
if: ${{ always() }}
|
|
needs:
|
|
- build-distribution
|
|
- caching-integ-tests
|
|
- other-integ-tests
|
|
- dependency-submission-integ-tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Fail if any integ-test job failed or was cancelled
|
|
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
|
|
run: |
|
|
echo "One or more integ-test jobs did not succeed:"
|
|
echo " build-distribution: ${{ needs.build-distribution.result }}"
|
|
echo " caching-integ-tests: ${{ needs.caching-integ-tests.result }}"
|
|
echo " other-integ-tests: ${{ needs.other-integ-tests.result }}"
|
|
echo " dependency-submission-integ-tests: ${{ needs.dependency-submission-integ-tests.result }}"
|
|
exit 1
|