test action

This commit is contained in:
Mitchell Hashimoto 2022-08-22 19:46:42 -07:00
parent 7cc09f32e9
commit 941ed4d57e
No known key found for this signature in database
GPG key ID: 523D5DC389D273BC

15
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,15 @@
on: [push, pull_request]
name: Test
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2
- uses: cachix/install-nix-action@v17
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix flake check
# Verify the update script WORKS but we don't actually commit anything
# in the test job.
- run: ./update