Skip to content

Bump actions/checkout from 4.2.1 to 4.2.2 #662

Bump actions/checkout from 4.2.1 to 4.2.2

Bump actions/checkout from 4.2.1 to 4.2.2 #662

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.4.9"
- java: 8
- java: 21
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: ${{matrix.java}}
distribution: temurin
- uses: sbt/setup-sbt@5fd9d0c4a5970c099aaf9200d4a3a7307ebc82e6 # v1.1.2
- uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6
- run: |
git config --global user.email "example@example.com"
git config --global user.name "example"
echo '[ui]' > "$HOME/.hgrc"
echo 'username = example <example@example.com>' >> "$HOME/.hgrc"
- run: sbt -v $(if [[ "${{matrix.sbt_version}}" != "" ]] ; then echo "^^${{matrix.sbt_version}}" ; fi) test scripted
- run: rm -rf "$HOME/.ivy2/local" || true