mirror of
https://github.com/nix-community/flakelight.git
synced 2024-11-25 00:43:15 +01:00
Add Github workflow for PR checks
This commit is contained in:
parent
dcb12b6a22
commit
17463db5c0
20
.github/workflows/pr.yml
vendored
Normal file
20
.github/workflows/pr.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: PR checks
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run-checks:
|
||||||
|
name: Run checks
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: cachix/install-nix-action@master
|
||||||
|
- run: nix flake check --all-systems
|
||||||
|
run-tests:
|
||||||
|
name: Run tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: cachix/install-nix-action@master
|
||||||
|
- run: nix eval .#tests
|
Loading…
Reference in New Issue
Block a user