Feat: create java file and test fileLesson_16 #47
Workflow file for this run
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: Check Lesson 16 Java Pull Request | |
on: | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- "lesson_16/objects/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Build Lesson 16 with Java | |
working-directory: ./lesson_16/objects | |
run: ./gradlew check |