Skip to content

Commit

Permalink
ci: add cachix build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva committed Dec 9, 2024
1 parent 631a8bb commit 4163d8c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cachix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Build and push binaries to cachix"
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v30
- name: Setup cachix action
uses: cachix/cachix-action@v14
with:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
name: polkadot
- name: Nix flake check
run: nix flake check
- name: Nix flake develop
run: nix develop

0 comments on commit 4163d8c

Please sign in to comment.