edited trigger conditions in two ci .yml files

This commit is contained in:
Quinn Dougherty 2022-08-30 11:36:32 +08:00
parent b935621d2a
commit b89e4f1bd8
3 changed files with 40 additions and 29 deletions

View File

@ -1,38 +1,48 @@
name: Nix build name: Nix build
on: [push, pull_request] on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
- reducer-dev
- epic-reducer-project
jobs: jobs:
flake: flake:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install nix - name: Install nix
uses: cachix/install-nix-action@v17 uses: cachix/install-nix-action@v17
with: with:
nix_path: nixpkgs=channel:nixos-22.05 nix_path: nixpkgs=channel:nixos-22.05
- name: Use cachix - name: Use cachix
uses: cachix/cachix-action@v10 uses: cachix/cachix-action@v10
with: with:
name: quantified-uncertainty name: quantified-uncertainty
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Check that lang lints - name: Check that lang lints
run: nix build .#lang-lint run: nix build .#lang-lint
- name: Check that components lints - name: Check that components lints
run: nix build .#components-lint run: nix build .#components-lint
- name: Check that website lints - name: Check that website lints
run: nix build .#docusaurus-lint run: nix build .#docusaurus-lint
- name: Check that vscode extension lints - name: Check that vscode extension lints
run: nix build .#vscode-lint run: nix build .#vscode-lint
- name: Check all lang tests - name: Check all lang tests
run: nix build .#lang-test run: nix build .#lang-test
- name: Check that lang bundles - name: Check that lang bundles
run: nix build .#lang-bundle run: nix build .#lang-bundle
- name: Check that components builds - name: Check that components builds
run: nix build .#components run: nix build .#components
- name: Check that components bundles - name: Check that components bundles
run: nix build .#components-bundle run: nix build .#components-bundle

View File

@ -10,6 +10,7 @@ on:
- master - master
- develop - develop
- reducer-dev - reducer-dev
- epic-reducer-project
jobs: jobs:
pre_check: pre_check: