From b0a460212d86790aa21f16779070b8f4d5766382 Mon Sep 17 00:00:00 2001 From: Jack Treble Date: Mon, 9 Sep 2019 11:12:23 +0100 Subject: [PATCH] add JDK setup & add scala.properties.json --- ci/properties/scala.properties.json | 6 ++++++ ci/scala.yml | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 ci/properties/scala.properties.json diff --git a/ci/properties/scala.properties.json b/ci/properties/scala.properties.json new file mode 100644 index 0000000..7921639 --- /dev/null +++ b/ci/properties/scala.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Scala", + "description": "Build and test a Scala project with SBT.", + "iconName": "scala", + "categories": ["Scala", "Java"] +} \ No newline at end of file diff --git a/ci/scala.yml b/ci/scala.yml index 2087559..a668e0b 100644 --- a/ci/scala.yml +++ b/ci/scala.yml @@ -9,7 +9,9 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Compile - run: sbt compile + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 - name: Run tests run: sbt test