Skip to content

Fix bug in lsp did_change (#434) #62

Fix bug in lsp did_change (#434)

Fix bug in lsp did_change (#434) #62

Workflow file for this run

name: Check nix code
on:
workflow_dispatch:
push:
branches:
- 'main'
permissions:
contents: read
statuses: write
jobs:
check_nix:
name: Check nix code
strategy:
fail-fast: false
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
- name: Drop into nix devshell and run tests
run: nix develop -Lv -c bash -c "make test"