Skip to content

Commit 5b78f21

Browse files
authored
chore: add lesson_09 actions (#334)
Signed-off-by: Anthony D. Mays <[email protected]>
1 parent f6517ea commit 5b78f21

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Check Lesson 09 Pull Request
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
paths:
7+
- "lesson_09/types/**"
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v4
21+
with:
22+
java-version: '21'
23+
distribution: 'temurin'
24+
25+
- name: Build Lesson 09 with Gradle
26+
working-directory: ./lesson_09/types
27+
run: ./gradlew check

0 commit comments

Comments
 (0)