Gradle build cleanup #83
Workflow file for this run
This file contains 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: Continuous Integration | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
env: | |
SHALLOW: 1 | |
- name: Run Samples Tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: jspecifySamplesTest | |
- name: Check out jspecify/main | |
run: git -C ../jspecify checkout main | |
- name: Run Conformance Tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: conformanceTest conformanceTestOnSamples |