diff --git a/.github/workflows/ci-cachix.yml b/.github/workflows/ci-cachix.yml index 817a7251..f197e7c4 100644 --- a/.github/workflows/ci-cachix.yml +++ b/.github/workflows/ci-cachix.yml @@ -1,38 +1,48 @@ name: Nix build -on: [push, pull_request] +on: + push: + branches: + - master + - develop + pull_request: + branches: + - master + - develop + - reducer-dev + - epic-reducer-project jobs: flake: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Install nix - uses: cachix/install-nix-action@v17 - with: - nix_path: nixpkgs=channel:nixos-22.05 - - name: Use cachix - uses: cachix/cachix-action@v10 - with: - name: quantified-uncertainty - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + - name: Checkout code + uses: actions/checkout@v3 + - name: Install nix + uses: cachix/install-nix-action@v17 + with: + nix_path: nixpkgs=channel:nixos-22.05 + - name: Use cachix + uses: cachix/cachix-action@v10 + with: + name: quantified-uncertainty + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - name: Check that lang lints - run: nix build .#lang-lint - - name: Check that components lints - run: nix build .#components-lint - - name: Check that website lints - run: nix build .#docusaurus-lint - - name: Check that vscode extension lints - run: nix build .#vscode-lint + - name: Check that lang lints + run: nix build .#lang-lint + - name: Check that components lints + run: nix build .#components-lint + - name: Check that website lints + run: nix build .#docusaurus-lint + - name: Check that vscode extension lints + run: nix build .#vscode-lint - - name: Check all lang tests - run: nix build .#lang-test - - name: Check that lang bundles - run: nix build .#lang-bundle - - name: Check that components builds - run: nix build .#components - - name: Check that components bundles - run: nix build .#components-bundle + - name: Check all lang tests + run: nix build .#lang-test + - name: Check that lang bundles + run: nix build .#lang-bundle + - name: Check that components builds + run: nix build .#components + - name: Check that components bundles + run: nix build .#components-bundle diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6020a508..0a649ec7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ on: - master - develop - reducer-dev + - epic-reducer-project jobs: pre_check: diff --git a/nix/README.md b/nix/README.md index cadf6b82..6ad6a456 100644 --- a/nix/README.md +++ b/nix/README.md @@ -1 +1 @@ -Visit `quantified-uncertainty.cachix.org` for information about how to add our binary cache to your local dev environment. +Visit `quantified-uncertainty.cachix.org` for information about how to add our binary cache to your local dev environment.