Skip to content

Commit

Permalink
add cachix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mstksg committed Dec 27, 2023
1 parent dfe064d commit 76039b8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/cachix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Cachix"
on:
pull_request:
push:
jobs:
cache:
strategy:
matrix:
runner: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.runner }}
steps:
- name: Free Disk Space
uses: insightsengineering/[email protected]
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v13
with:
name: mstksg
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build
- run: nix develop . --command bash -c "echo OK"

0 comments on commit 76039b8

Please sign in to comment.