stackage-server/.github/workflows/build.yml
Bryan Richter e224e51254
Fix more fast mistakes
When combined with the duplicate job, condition should have been
dropped.
2026-04-13 11:26:02 +03:00

31 lines
734 B
YAML

# CI that runs on pull requests and pushes to master.
name: CI
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
stack-test:
name: stack test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/stack-test
flake-check:
name: flake check and push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
- uses: DeterminateSystems/magic-nix-cache-action@v13
- uses: cachix/cachix-action@v17
with:
name: stackage-infrastructure
- run: nix build
- run: nix flake check