Merge pull request #149 from outr/update/scala-library-2.13.12 #279
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 | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 20 | |
- name: Coursier cache | |
uses: coursier/cache-action@v6 | |
- uses: browser-actions/setup-geckodriver@latest | |
- run: | | |
export DISPLAY=:99 | |
chromedriver --url-base=/wd/hub & | |
- name: Build and test | |
run: | | |
sbt -v -Dfile.encoding=UTF-8 "testOnly spec.RoboBrowserSpec" | |
rm -rf "$HOME/.ivy2/local" || true | |
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true | |
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true | |
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true | |
find $HOME/.sbt -name "*.lock" -delete || true |