Skip to content

v0.1.6

v0.1.6 #152

Workflow file for this run

name: Test
on:
pull_request:
push:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
name: xzfc
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- name: Build and install cached-nix-shell
run: nix-env -i -f default.nix
- name: Workaround for Darwin
if: matrix.os == 'macos-latest'
run: cached-nix-shell -p --run true
- name: Test cached-nix-shell
run: ./tests/run.sh
- name: Test nix-trace
run: nix-shell -p b3sum --run "nix-shell ./default.nix --run 'make -C ./nix-trace test'"