docspell/.github/workflows/ci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
596 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:
2024-03-10 14:50:06 +00:00
runs-on: ubuntu-latest
2021-04-10 15:21:46 +00:00
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4.1.7
2021-04-10 15:21:46 +00:00
with:
fetch-depth: 100
- name: Fetch tags
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- uses: cachix/install-nix-action@v27
2021-04-10 15:21:46 +00:00
- name: sbt ci ${{ github.ref }}
2024-03-10 14:50:06 +00:00
run: nix develop .#ci --command sbt ci
2021-04-10 15:21:46 +00:00
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"