-
Notifications
You must be signed in to change notification settings - Fork 56
35 lines (35 loc) · 872 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
pull_request:
jobs:
ci-matrix:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
java: [ '11' ]
steps:
- uses: actions/[email protected]
with:
fetch-depth: 100
- uses: jorelali/setup-elm@v5
with:
elm-version: 0.19.1
- uses: bahmutov/npm-install@v1
with:
working-directory: modules/webapp
- name: Fetch tags
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- uses: olafurpg/setup-scala@v14
with:
java-version: ${{ matrix.java }}
- name: Coursier cache
uses: coursier/cache-action@v6
- name: sbt ci ${{ github.ref }}
run: sbt ci
ci:
runs-on: ubuntu-22.04
needs: [ci-matrix]
steps:
- name: Aggregate of lint, and all tests
run: echo "ci passed"