Java Gradle Test #18
This file contains hidden or 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
--- | |
name: Java Gradle Test | |
on: | |
# every day-of-month 1st at 00:00 UTC | |
schedule: | |
# prettier-ignore | |
- cron: '0 0 1 * *' | |
workflow_dispatch: | |
jobs: | |
check-links: | |
uses: ./.github/workflows/link-check.yml | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
# prettier-ignore | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Test | |
working-directory: ${{github.workspace}}/java-algorithm | |
run: gradle test |