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
uses: gradle/gradle-build-action@v2.10.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