Bump gradle/wrapper-validation-action from 3.3.2 to 3.4.0 #393
Workflow file for this run
This file contains 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
# Workflow that checks the bootstrap, clean_up and add_service scripts in this repo produce valid code. | |
name: Test Scripts | |
on: | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
test-scripts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Install zsh | |
run: sudo apt install zsh | |
- name: Set up Java | |
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v3.9.0 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@4c39dd82cd5e1ec7c6fa0173bb41b4b6bb3b86ff # v3.3.2 | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Run boostrap script | |
shell: zsh {0} | |
run: ./.creek/bootstrap.sh "some-User-name/a_Nother-REpo_name" "some-User-name" | |
- name: Check compiles & runs | |
run: ./gradlew static test | |
- name: Add service | |
shell: zsh {0} | |
run: ./.creek/add_service.sh first-service | |
- name: Check compiles & runs | |
run: ./gradlew static test | |
- name: Add 2nd service | |
shell: zsh {0} | |
run: ./.creek/add_service.sh second-service | |
- name: Check compiles & runs | |
run: ./gradlew static test |