Stack safe recursion #302
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
name: CI with Nix | |
on: | |
pull_request: | |
push: | |
branches: [ mlscript, hkmc2 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- uses: rrbutani/use-nix-shell-action@v1 | |
with: | |
devShell: .#default | |
- name: Install TypeScript | |
run: npm ci | |
- name: Run test | |
# Not running all tests because those outside of hkmc2 are obsolete (will be removed) | |
run: sbt -J-Xmx4096M -J-Xss8M hkmc2AllTests/test | |
- name: Check no changes | |
run: | | |
git update-index -q --refresh | |
git diff-files -p --exit-code |