Skip to content

Commit

Permalink
github action for building
Browse files Browse the repository at this point in the history
  • Loading branch information
olynch committed Nov 26, 2024
1 parent ab347d9 commit 44b9d70
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Build"

on:
pull_request:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- run: nix profile install nixpkgs#cachix
- run: env CACHIX_AUTH_TOKEN=${{ secrets.CACHIX_AUTH_TOKEN }} cachix watch-exec narya -- nix build --accept-flake-config .
- run: env CACHIX_AUTH_TOKEN=${{ secrets.CACHIX_AUTH_TOKEN }} cachix watch-exec narya -- nix develop --accept-flake-config

0 comments on commit 44b9d70

Please sign in to comment.