Bump amazoncorretto from 530a831
to 88cd2cf
in /handle-occurrence-service
#564
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install zsh | |
run: sudo apt install zsh | |
- name: Set up Java | |
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v3.9.0 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0 | |
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 |