Skip to content

Commit

Permalink
Merge pull request #133 from ZenCodeLang/feature/refactor-dfa-workflow
Browse files Browse the repository at this point in the history
Update workflow to run tests on push or pull request
  • Loading branch information
kindlich authored Jan 27, 2024
2 parents c9407d9 + 67d6637 commit b132d6e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2.4.0
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: '8'
distribution: 'zulu'
- name: Cache
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }}
- name: Executable gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Run Tests
run: ./gradlew ScriptingExample:test
#The project does not `build` atm, but we're using the ScriptingExample module to track passing tests

0 comments on commit b132d6e

Please sign in to comment.