2021-04-10 15:21:46 +00:00
|
|
|
name: CI
|
|
|
|
on:
|
|
|
|
pull_request:
|
2022-02-03 20:46:56 +00:00
|
|
|
branches:
|
|
|
|
- master
|
2021-04-10 15:21:46 +00:00
|
|
|
jobs:
|
|
|
|
ci-matrix:
|
2023-08-09 13:32:37 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2021-04-10 15:21:46 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2023-11-05 22:11:22 +00:00
|
|
|
java: [ 'openjdk@1.17' ]
|
2021-04-10 15:21:46 +00:00
|
|
|
steps:
|
2023-10-17 16:56:59 +00:00
|
|
|
- uses: actions/checkout@v4.1.1
|
2021-04-10 15:21:46 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 100
|
2023-03-09 11:01:14 +00:00
|
|
|
- uses: jorelali/setup-elm@v5
|
2021-04-10 15:21:46 +00:00
|
|
|
with:
|
|
|
|
elm-version: 0.19.1
|
|
|
|
- uses: bahmutov/npm-install@v1
|
2021-06-22 21:40:42 +00:00
|
|
|
with:
|
|
|
|
working-directory: modules/webapp
|
2021-04-10 15:21:46 +00:00
|
|
|
- name: Fetch tags
|
|
|
|
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
|
2023-02-18 12:25:58 +00:00
|
|
|
- uses: olafurpg/setup-scala@v14
|
2021-04-10 15:21:46 +00:00
|
|
|
with:
|
|
|
|
java-version: ${{ matrix.java }}
|
2022-04-09 12:35:47 +00:00
|
|
|
# - name: Coursier cache
|
|
|
|
# uses: coursier/cache-action@v6
|
2021-04-10 15:21:46 +00:00
|
|
|
- name: sbt ci ${{ github.ref }}
|
|
|
|
run: sbt ci
|
|
|
|
ci:
|
2023-08-09 13:32:37 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2021-04-10 15:21:46 +00:00
|
|
|
needs: [ci-matrix]
|
|
|
|
steps:
|
|
|
|
- name: Aggregate of lint, and all tests
|
|
|
|
run: echo "ci passed"
|