Skip to content

Bump ruby/setup-ruby from 1.165.0 to 1.165.1 #274

Bump ruby/setup-ruby from 1.165.0 to 1.165.1

Bump ruby/setup-ruby from 1.165.0 to 1.165.1 #274

Workflow file for this run

# 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install zsh
run: sudo apt install zsh
- name: Set up Java
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v3.9.0
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- 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