Skip to content

Bump actions/checkout from 3.6.0 to 4.0.0 #404

Bump actions/checkout from 3.6.0 to 4.0.0

Bump actions/checkout from 3.6.0 to 4.0.0 #404

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
fetch-depth: 0
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
with:
java-version: ${{matrix.java}}
distribution: temurin
- uses: coursier/cache-action@d1039466d0812d6370649b9afb02bbf5f646bacf # v6.4.3
- 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