Skip to content

Commit

Permalink
nix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Jun 28, 2024
1 parent fcfc66a commit 1c727bc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Nix CI"

on: [pull_request, push]

jobs:
tests:
name: "Nix build on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}-latest"
strategy:
matrix:
os: [ubuntu]
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
trusted-substituters = https://gepetto.cachix.org
trusted-public-keys = gepetto.cachix.org-1:toswMl31VewC0jGkN6+gOelO2Yom0SOHzPwJMY2XiDY=
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build

0 comments on commit 1c727bc

Please sign in to comment.