22 lines
443 B
YAML
22 lines
443 B
YAML
name: "Tests"
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: cachix/install-nix-actions@v31
|
|
- uses: cachix/cachix-action@v14
|
|
with:
|
|
name: devenv
|
|
- name: Install devenv.sh
|
|
run: nix profile install nixpkgs#devenv
|
|
|
|
- name: Build the devenv shell and run any pre-commit hooks and project tests
|
|
run: devenv test
|