This repository has been archived by the owner on Nov 17, 2024. It is now read-only.
diff day 22 approach #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Cachix" | |
on: | |
pull_request: | |
push: | |
jobs: | |
cache: | |
strategy: | |
matrix: | |
runner: [ ubuntu-latest, macos-latest ] | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- name: Free Disk Space | |
uses: insightsengineering/free-disk-space@v1.1.0 | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v13 | |
with: | |
name: mstksg | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- run: nix build | |
- run: nix develop . --command bash -c "echo OK" |