Skip to content

Commit 97ed5f6

Browse files
committed
ci(gh-actions): Initial setup - build the Nix dev shell
1 parent 29b4e02 commit 97ed5f6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
Nix:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- uses: cachix/install-nix-action@v17
18+
with:
19+
nix_path: nixpkgs=channel:nixos-22.05
20+
21+
- uses: cachix/cachix-action@v10
22+
with:
23+
name: metacraft-labs-blockchain-dev
24+
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
25+
26+
- name: Build Nix dev shell
27+
run: nix build --print-build-logs '.#devShells.x86_64-linux.default'

0 commit comments

Comments
 (0)