mirror of
https://github.com/gradle/actions
synced 2024-11-30 13:22:15 +00:00
32 lines
783 B
YAML
32 lines
783 B
YAML
name: CI-init-script-check
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'release/**'
|
|
paths-ignore:
|
|
- 'dist/**'
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/ci-init-script-check.yml'
|
|
- 'sources/src/resources/init-scripts/**'
|
|
- 'sources/test/init-scripts/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test-init-scripts:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v4
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: 11
|
|
- name: Setup Gradle
|
|
uses: gradle/actions/setup-gradle@v3 # Use a released version to avoid breakages
|
|
- name: Run integration tests
|
|
working-directory: sources/test/init-scripts
|
|
run: ./gradlew check
|