Skip to content

Add CI for pull-requests #3

Add CI for pull-requests

Add CI for pull-requests #3

Workflow file for this run

name: Check

Check failure on line 1 in .github/workflows/check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check.yml

Invalid workflow file

(Line: 6, Col: 3): Unexpected value 'pull_requests'
on:
push:
branches: [main]
pull_requests:
types: [labeled, opened, synchronize, reopened, review_requested, ready_for_review]
pull_request_review:
types: [submitted]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
name: Flake check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run tests
run: nix flake check -L