Skip to content

CI

CI #533

Workflow file for this run

name: CI
on:
pull_request:
push:
schedule:
- cron: '0 8 * * 0'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
include:
- java: 8
sbt_version: "1.2.8"
- java: 8
- java: 11
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: ${{matrix.java}}
distribution: temurin
- uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6
- run: |
git config --global user.email "[email protected]"
git config --global user.name "example"
echo '[ui]' > "$HOME/.hgrc"
echo 'username = example <[email protected]>' >> "$HOME/.hgrc"
- run: sbt -v $(if [[ "${{matrix.sbt_version}}" != "" ]] ; then echo "^^${{matrix.sbt_version}}" ; fi) test scripted
- run: rm -rf "$HOME/.ivy2/local" || true