Skip to content

Commit

Permalink
test: run tests and build on every push to PR
Browse files Browse the repository at this point in the history
  • Loading branch information
vst committed Apr 23, 2024
1 parent 2ddcded commit 7b41902
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Check Codebase"

on:
pull_request:
workflow_dispatch:

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

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

- name: "Install nix"
uses: "cachix/install-nix-action@v26"
with:
nix_path: "nixpkgs=channel:nixos-23.11"

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

- name: "Check Application"
run: |
nix-shell --pure --run "dev-test-build"

0 comments on commit 7b41902

Please sign in to comment.