mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
26 lines
596 B
YAML
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.4
|
|
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"
|