Skip to content

Bump cachix/install-nix-action from 24 to 26 #92

Bump cachix/install-nix-action from 24 to 26

Bump cachix/install-nix-action from 24 to 26 #92

Workflow file for this run

---
name: haskell.nix
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
build-with-cabal:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
extra_nix_config: |
extra-substituters = https://cache.iog.io
extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
- name: Install Dependencies
run: nix develop --command true
- name: Build With Cabal
run: nix develop --command cabal build
- name: Run With Cabal
run: nix develop --command cabal run
build-with-nix:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
extra_nix_config: |
extra-substituters = https://cache.iog.io
extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
- name: Install Dependencies
run: nix develop --command true
- name: Build With Nix
run: nix build
- name: Run With Nix
run: nix run