Skip to content

Commit

Permalink
Merge branch 'main' into minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-shettyy committed Mar 24, 2024
2 parents 334ee85 + 49e00be commit 93b675c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 9 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

# Controls when the workflow will run
on: [push, pull_request]

jobs:
# This job will build and test the JSpecify Conformance Tests on the Checker Framework
build-and-test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
defaults:
run:
working-directory: jspecify-conformance
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out CF JSpecify Conformance Tests
uses: actions/checkout@v4
with:
path: jspecify-conformance
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Set up Gradle
uses: gradle/gradle-build-action@v3
- name: Build and Test
run: gradle clean test
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
[versions]
# Define the version of your dependency
junitVer = "5.9.1"
guavaVer = "31.1-jre"
jSpecifyConformanceTestVer = "0.0.0-SNAPSHOT"
checkerFrameworkVer = "3.42.0"

[libraries]
# Define your dependencies
junit = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junitVer" }
guava = { module = "com.google.guava:guava", version.ref = "guavaVer" }
jspecify-conformance-tests = { module = "org.jspecify.conformance:conformance-tests", version.ref = "jSpecifyConformanceTestVer" }
Expand Down
7 changes: 0 additions & 7 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
/*
* This file was generated by the Gradle 'init' task.
*
* The settings file is used to specify which projects to include in your build.
* For more detailed information on multi-project builds, please refer to https://docs.gradle.org/8.6/userguide/multi_project_builds.html in the Gradle documentation.
*/

rootProject.name = 'jspecify-conformance'

0 comments on commit 93b675c

Please sign in to comment.