Bump ossf/scorecard-action from 2.3.0 to 2.3.1 #383
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
# 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install zsh | |
run: sudo apt install zsh | |
- name: Set up Java | |
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.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 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 |