mirror of
https://github.com/callumio/scenics.git
synced 2025-12-17 03:29:21 +00:00
ci: selective builds and flake checks
This commit is contained in:
parent
acf1a07132
commit
d284b8ae4d
5 changed files with 98 additions and 1 deletions
23
.github/workflows/checks.yml
vendored
Normal file
23
.github/workflows/checks.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Checks
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
flake-check:
|
||||
name: Flake Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: cachix/cachix-action@v16
|
||||
with:
|
||||
name: scenics
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
useDaemon: true
|
||||
|
||||
- name: Check flake
|
||||
run: nix flake check
|
||||
Loading…
Add table
Add a link
Reference in a new issue