Skip to content

Bump actions/setup-java from 4.4.0 to 4.5.0 #686

Bump actions/setup-java from 4.4.0 to 4.5.0

Bump actions/setup-java from 4.4.0 to 4.5.0 #686

Workflow file for this run

# Checks the repo builds correctly once the bootstrap & init template has run...
name: Test Scripts
on:
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
test-scripts:
if: ${{ github.repository == 'creek-service/aggregate-template' }}
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@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.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 format check
- name: Clean
run: ./gradlew clean
- name: Run clean_up script
shell: zsh {0}
run: ./.creek/clean_up.sh
- name: Check compiles & runs
run: ./gradlew format check
- name: Clean
run: ./gradlew clean
- name: Add service
shell: zsh {0}
run: ./.creek/add_service.sh first-service
- name: Check compiles & runs
run: ./gradlew format check
- name: Clean
run: ./gradlew clean
- name: Add 2nd service
shell: zsh {0}
run: ./.creek/add_service.sh second-service
- name: Check compiles & runs
run: ./gradlew format check