Skip to content

Commit b132d6e

Browse files
authored
Merge pull request #133 from ZenCodeLang/feature/refactor-dfa-workflow
Update workflow to run tests on push or pull request
2 parents c9407d9 + 67d6637 commit b132d6e

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,22 @@ jobs:
99

1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v2.4.0
12+
uses: actions/checkout@v4
1313
with:
1414
submodules: 'recursive'
15-
- name: Set up JDK 1.8
16-
uses: actions/setup-java@v1
15+
- name: Set up JDK 8
16+
uses: actions/setup-java@v2
1717
with:
18-
java-version: 1.8
18+
java-version: '8'
19+
distribution: 'zulu'
1920
- name: Cache
2021
uses: actions/cache@v1
2122
with:
2223
path: ~/.gradle/caches
2324
key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }}
2425
- name: Executable gradlew
2526
run: chmod +x gradlew
26-
- name: Build with Gradle
27-
run: ./gradlew build
27+
- name: Run Tests
28+
run: ./gradlew ScriptingExample:test
29+
#The project does not `build` atm, but we're using the ScriptingExample module to track passing tests
30+

0 commit comments

Comments
 (0)