Skip to content

Commit e76e621

Browse files
authored
ci: initial setup (#21)
1 parent 79442b2 commit e76e621

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/nix.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Nix
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
workflow_dispatch:
8+
jobs:
9+
build:
10+
strategy:
11+
matrix:
12+
os: [ ubuntu-20.04 ]
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: cachix/install-nix-action@v12
17+
- uses: cachix/cachix-action@v8
18+
with:
19+
name: numtide
20+
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
21+
- run: nix-shell --pure --run "cargo build"
22+
- run: nix-shell --pure --run "cargo test"
23+
- run: nix-build -A defaultNix.packages.x86_64-linux

0 commit comments

Comments
 (0)