From ded4fe8c499d2401d648380fe1a59b343a8a5650 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 4 Dec 2023 08:11:38 -0800 Subject: add a CI configuration for this repo --- .github/workflows/ci.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..6d909f7 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,28 @@ +name: "Build flake outputs" +on: + push: + branches: + - main + pull_request: + branches: + - main + types: [opened, synchronize] +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + output: + - devShell.x86_64-linux + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Install Nix + uses: cachix/install-nix-action@v23 + with: + extra_nix_config: | + experimental-features = nix-command flakes + - run: nix flake check + - run: nix develop -c echo OK -- cgit 1.4.1