Skip to content

Commit

Permalink
test: add GitHub action for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vst committed Oct 2, 2024
1 parent 0cc8bc1 commit e408c34
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Check, Test and Build Codebase"

on:
pull_request:
workflow_dispatch:

jobs:
check:
runs-on: "ubuntu-latest"

steps:
- name: "Checkout main"
uses: "actions/checkout@v4"

- name: "Install Nix"
uses: "DeterminateSystems/nix-installer-action@v14"

- name: "Use Nix Cache"
uses: "DeterminateSystems/magic-nix-cache-action@v8"

- name: "Check, Test and Build"
run: |
nix-shell --pure --run "dev-test-build"

0 comments on commit e408c34

Please sign in to comment.