gradle-build-action/.github/workflows/ci-init-script-check.yml

27 lines
666 B
YAML
Raw Normal View History

2022-06-05 04:18:43 +00:00
name: CI-init-script-check
on:
push:
paths:
- '.github/workflows/ci-init-script-check.yml'
- 'src/resources/init-scripts/**'
- 'test/init-scripts/**'
workflow_dispatch:
2022-06-05 04:18:43 +00:00
jobs:
test-init-scripts:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
2022-06-05 04:18:43 +00:00
- name: Setup Java
uses: actions/setup-java@v4
2022-06-05 04:18:43 +00:00
with:
distribution: temurin
java-version: 8
- name: Setup Gradle
Bump the github-actions group with 1 update (#1047) Bumps the github-actions group with 1 update: [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action). Updates `gradle/gradle-build-action` from 2.11.1 to 2.12.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gradle/gradle-build-action/releases">gradle/gradle-build-action's releases</a>.</em></p> <blockquote> <h2>v2.12.0</h2> <p>Adds a new option to clear a previously submitted dependency-graph.</p> <pre lang="yaml"><code>steps: - uses: gradle/gradle-build-action@v2 with: dependency-graph: clear </code></pre> <p>This may prove useful when migrating to a workflow using the upcoming <code>gradle/actions/dependency-submission</code> action.</p> <p><strong>Full-changelog</strong>: <a href="https://github.com/gradle/gradle-build-action/compare/v2.11.1...v2.12.0">https://github.com/gradle/gradle-build-action/compare/v2.11.1...v2.12.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gradle/gradle-build-action/commit/a8f75513eafdebd8141bd1cd4e30fcd194af8dfa"><code>a8f7551</code></a> Build outputs</li> <li><a href="https://github.com/gradle/gradle-build-action/commit/9283312acb2f03f47ca40702fbba3a42a81047a2"><code>9283312</code></a> Add new option to clear dependency-graph</li> <li><a href="https://github.com/gradle/gradle-build-action/commit/7c8a278ea037b3ba08ccf2147b8ba80be977578e"><code>7c8a278</code></a> Remove old clear-dependency-graph action</li> <li><a href="https://github.com/gradle/gradle-build-action/commit/d8ca9b7d2e81bf7bfcb000dc25ef59c87acf81e1"><code>d8ca9b7</code></a> Do full checks on release branches</li> <li>See full diff in <a href="https://github.com/gradle/gradle-build-action/compare/v2.11.1...v2.12.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=gradle/gradle-build-action&package-manager=github_actions&previous-version=2.11.1&new-version=2.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-25 17:21:22 +00:00
uses: gradle/gradle-build-action@v2.12.0 # Use a released version to avoid breakages
2022-06-05 04:18:43 +00:00
- name: Run integration tests
working-directory: test/init-scripts
2022-06-05 04:18:43 +00:00
run: ./gradlew check