docspell/.github/workflows/ci.yml

38 lines
915 B
YAML
Raw Normal View History

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:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
java: [ 'openjdk@1.11' ]
steps:
- uses: actions/checkout@v3.2.0
2021-04-10 15:21:46 +00:00
with:
fetch-depth: 100
- uses: jorelali/setup-elm@v3
with:
elm-version: 0.19.1
- uses: bahmutov/npm-install@v1
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/*
- uses: olafurpg/setup-scala@v13
2021-04-10 15:21:46 +00:00
with:
java-version: ${{ matrix.java }}
# - 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:
runs-on: ubuntu-20.04
needs: [ci-matrix]
steps:
- name: Aggregate of lint, and all tests
run: echo "ci passed"