From 3eb436eccebba07fe73db171a19665747c317b92 Mon Sep 17 00:00:00 2001 From: Jack Treble Date: Tue, 20 Aug 2019 15:12:26 +0100 Subject: [PATCH 1/3] Add Scala template --- ci/scala.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ci/scala.yml diff --git a/ci/scala.yml b/ci/scala.yml new file mode 100644 index 0000000..2087559 --- /dev/null +++ b/ci/scala.yml @@ -0,0 +1,15 @@ +name: Scala CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Compile + run: sbt compile + - name: Run tests + run: sbt test From b0a460212d86790aa21f16779070b8f4d5766382 Mon Sep 17 00:00:00 2001 From: Jack Treble Date: Mon, 9 Sep 2019 11:12:23 +0100 Subject: [PATCH 2/3] 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 From 28e1d852655974cd2edcaa1cb280b5e75f7c66d0 Mon Sep 17 00:00:00 2001 From: Jack Treble Date: Fri, 4 Oct 2019 17:50:53 +0100 Subject: [PATCH 3/3] change iconName to blank --- ci/properties/scala.properties.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/properties/scala.properties.json b/ci/properties/scala.properties.json index 7921639..d44e867 100644 --- a/ci/properties/scala.properties.json +++ b/ci/properties/scala.properties.json @@ -1,6 +1,6 @@ { "name": "Scala", "description": "Build and test a Scala project with SBT.", - "iconName": "scala", + "iconName": "blank", "categories": ["Scala", "Java"] -} \ No newline at end of file +}