Trace back unification error #9
Workflow file for this run
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
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- 'main' | |
permissions: | |
contents: read | |
statuses: write | |
jobs: | |
check_nix: | |
name: Check nix code | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
- name: Set up cachix | |
uses: cachix/cachix-action@v15 | |
with: | |
name: polarity | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- name: Evaluate nix code | |
run: nix -Lv flake check | |
- name: build and run polarity using nix | |
run: nix -Lv run .# -- --help | |
- name: build and run a static polarity exe | |
if: matrix.os == 'ubuntu-latest' | |
run: nix -Lv run .#polarity-static -- --help |