Skip to content

Commit

Permalink
test: add GitHub workflow to test codebase on each push to PR
Browse files Browse the repository at this point in the history
  • Loading branch information
vst committed Mar 18, 2024
1 parent 7062727 commit a8b0394
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@v25"
with:
nix_path: "nixpkgs=channel:nixos-23.11"

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

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

0 comments on commit a8b0394

Please sign in to comment.