docspell/.github/workflows/ci.yml
2024-03-10 16:58:22 +01:00

26 lines
596 B
YAML

name: CI
on:
pull_request:
branches:
- master
jobs:
ci-matrix:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 100
- name: Fetch tags
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- uses: cachix/install-nix-action@v26
- name: sbt ci ${{ github.ref }}
run: nix develop .#ci --command sbt ci
ci:
runs-on: ubuntu-22.04
needs: [ci-matrix]
steps:
- name: Aggregate of lint, and all tests
run: echo "ci passed"