Skip to content

update CI

update CI #55

Workflow file for this run

name: "Build"
on:
workflow_dispatch:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: |
mkdir -p $HOME/.config/nix/
echo "substituters = https://cache.nixos.org https://cache.iog.io" >> $HOME/.config/nix/nix.conf
echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" >> $HOME/.config/nix/nix.conf
- uses: cachix/cachix-action@v10
with:
name: ruby0b-shinobu-bot-hs
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build
- run: nix develop -c echo OK