Skip to content

Commit f15f853

Browse files
committed
Move CI to Github Actions
This deletes the travis yaml file & introduces a simple GHA workflow which runs the build in the Nix devShell.
1 parent 6017441 commit f15f853

File tree

3 files changed

+27
-16
lines changed

3 files changed

+27
-16
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Set up Nix
2+
description: Sets up Nix and Nix store caching
3+
4+
runs:
5+
using: "composite"
6+
steps:
7+
- uses: DeterminateSystems/nix-installer-action@main
8+
- uses: DeterminateSystems/magic-nix-cache-action@main
9+
with:
10+
use-flakehub: false

.github/workflows/ci.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
ci:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: ./.github/actions/nix-setup
14+
- name: Run tests
15+
run: |
16+
nix develop -c \
17+
bin/build

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)