Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
added build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Baublesaurus committed Feb 23, 2024
1 parent dbab722 commit b1f76db
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
check_nix:
runs-on: ubuntu-latest
steps:
- name: git checkout
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
Expand All @@ -13,3 +14,15 @@ jobs:
- name: run "nix-shell"
- run: nix-shell

build_and_test:
runs-on: ubuntu-latest
needs: check-nix
steps:
- name: git checkout
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: make test
- run: make test

0 comments on commit b1f76db

Please sign in to comment.