make builds run again on self-hosted runners #1140
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: Test all the things | |
on: [ push, pull_request ] | |
jobs: | |
ci: | |
runs-on: self-hosted | |
env: | |
JAVA_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 | |
JVM_OPTS: -Xms5120M -Xmx5120M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 | |
steps: | |
- uses: actions/checkout@v1 | |
- run: git fetch -f --depth=1 origin '+refs/tags/*:refs/tags/*' | |
- uses: coursier/cache-action@v6 | |
- uses: coursier/setup-action@v1 | |
with: | |
jvm: adopt:8 | |
apps: sbt | |
- name: Test | |
run: sbt -v ";+core/test;+instrumentation/test;+reporters/test" | |
lint: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: coursier/cache-action@v6 | |
- name: Test | |
run: sbt -v "+scalafmtCheckAll" | |