Skip to content

Update naming convention for required fields #338

Update naming convention for required fields

Update naming convention for required fields #338

Workflow file for this run

name: "Nix"
on:
check_suite:
types: [completed]
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
nix-shell-and-build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ghc:
- ghc90
- ghc92
- ghc94
- ghc96
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.ghc }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v19
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
extra-access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
extra-experimental-features = nix-command flakes ca-derivations
extra-substituters = https://cache.nixos.org/ https://cache.garnix.io/
extra-trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
require-sigs = true
sandbox = true
extra-system-features = nixos-test benchmark big-parallel kvm
- run: nix develop --command make check-format
- run: nix develop '.#${{ matrix.ghc }}' --command true
- run: nix build '.#moat-${{ matrix.ghc }}'