Skip to content

Simplify GHAs using nix, update nix shell haskell tools #4289

Simplify GHAs using nix, update nix shell haskell tools

Simplify GHAs using nix, update nix shell haskell tools #4289

name: Check cabal files
on:
merge_group:
pull_request:
jobs:
check-cabal-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
substituters = https://cache.iog.io/ https://cache.nixos.org/
- uses: rrbutani/use-nix-shell-action@v1
- name: Cabal check
run: ./scripts/ci/check-cabal-files.sh