Skip to content

Redirect cardano-node logs to file #5

Redirect cardano-node logs to file

Redirect cardano-node logs to file #5

Workflow file for this run

name: "CI"
on:
push:
branches:
- master
pull_request:
jobs:
build-test:
name: "Build & test"
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
- name: ❄ Prepare nix
uses: cachix/install-nix-action@v26
with:
extra_nix_config: |
accept-flake-config = true
log-lines = 1000
- name: Prepare
run: |
nix develop --command bash -c "cabal update"
- name: Build
run: |
nix develop --command bash -c "cabal build"
- name: Test
# NOTE: The ci shell does not contain cardano-node
run: |
nix develop .#ci --command bash -c "cabal test"