From 773c0a2bcc7759e5c4099ba1fe105ae9118a91f3 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang <59727193+horriblename@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:43:10 +0200 Subject: [PATCH] ci: add test for nix build (#55) --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..59de794 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,14 @@ +name: "Nix build test" +on: + pull_request: + push: +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v22 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + - run: nix build + - run: nix flake check