Skip to content

Commit

Permalink
chore: adds lesson 04 pr check (code-differently#126)
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony D. Mays <[email protected]>
  • Loading branch information
anthonydmays authored and VicenteVigueras committed Mar 7, 2024
1 parent a494ddd commit 3a4fae0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/check_lesson_04_pr.yml
@@ -0,0 +1,32 @@
name: Check Lesson 04 Pull Request

on:
pull_request:
branches: [ "main" ]
paths:
- "lesson_04/expression/**"

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

- name: Build Lesson 04 with Gradle Wrapper
working-directory: ./lesson_04/expression
run: ./gradlew check

0 comments on commit 3a4fae0

Please sign in to comment.