2019-08-20 15:12:26 +01:00
|
|
|
name: Scala CI
|
|
|
|
|
|
2020-02-12 13:26:01 -05:00
|
|
|
on:
|
|
|
|
|
push:
|
2020-07-13 12:12:41 -07:00
|
|
|
branches: [ $default-branch ]
|
2020-02-12 13:26:01 -05:00
|
|
|
pull_request:
|
2020-07-13 12:12:41 -07:00
|
|
|
branches: [ $default-branch ]
|
2019-08-20 15:12:26 +01:00
|
|
|
|
2022-02-15 13:39:46 +05:30
|
|
|
permissions:
|
|
|
|
|
contents: read
|
|
|
|
|
|
2019-08-20 15:12:26 +01:00
|
|
|
jobs:
|
|
|
|
|
build:
|
2019-10-16 12:40:14 -07:00
|
|
|
|
2019-08-20 15:12:26 +01:00
|
|
|
runs-on: ubuntu-latest
|
2019-10-16 12:40:14 -07:00
|
|
|
|
2019-08-20 15:12:26 +01:00
|
|
|
steps:
|
2022-03-28 13:10:48 -04:00
|
|
|
- uses: actions/checkout@v3
|
2021-03-02 18:43:44 +03:00
|
|
|
- name: Set up JDK 11
|
2022-03-28 13:10:48 -04:00
|
|
|
uses: actions/setup-java@v3
|
2019-09-09 11:12:23 +01:00
|
|
|
with:
|
2021-03-02 18:43:44 +03:00
|
|
|
java-version: '11'
|
2022-01-15 00:05:31 +01:00
|
|
|
distribution: 'temurin'
|
2022-06-14 18:02:02 +02:00
|
|
|
cache: 'sbt'
|
2019-08-20 15:12:26 +01:00
|
|
|
- name: Run tests
|
|
|
|
|
run: sbt test
|