This commit is contained in:
Daniel Winkler 2025-09-01 17:38:22 +10:00
commit 075da8c81b
4 changed files with 89 additions and 21 deletions

30
.github/workflows/check.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: "Test RDE template"
on:
workflow_dispatch: # allows manual triggering
push:
paths:
- 'flake.lock'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v5
- uses: wimpysworld/nothing-but-nix@main
with:
hatchet-protocol: 'carve'
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v14
with:
name: rde
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
extraPullNames: rstats-on-nix, nix-community
- run: nix build .
- run: nix flake check .