Adjust heap size and stack size of JVM of GitHub workflow #1305
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: Scala CI | |
on: | |
push: | |
branches: [ mlscript ] | |
pull_request: | |
branches: [ mlscript ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '17.x' | |
- name: Install TypeScript | |
run: npm ci | |
- name: Run tests | |
run: sbt -J-Xmx4096M test | |
- name: Check no changes | |
run: git diff-files -p --exit-code |