From a711dab545e8b964914ac01ed06971a5a37ae22b Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 30 Apr 2024 04:07:12 -0400 Subject: init --- .github/workflows/ci.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/ci.yaml (limited to '.github/workflows/ci.yaml') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..163c10a --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + paths: + - '.github/workflows/**' + - '**.nix' + branches: [main] + pull_request: + paths: + - '.github/workflows/**' + - '**.nix' + workflow_dispatch: + +jobs: + test: + name: Run tests + + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Nix + uses: cachix/install-nix-action@v26 + + - name: Build release.nix + run: | + nix flake check ./test \ + --print-build-logs \ + --show-trace -- cgit v1.2.3