Skip to content

Update sbt, scripted-plugin to 1.11.3 #506

Update sbt, scripted-plugin to 1.11.3

Update sbt, scripted-plugin to 1.11.3 #506

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@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
java-version: ${{matrix.java}}
distribution: temurin
- uses: sbt/setup-sbt@234370af1319038bf8dc432f8a7e4b83078a1781 # v1.1.11
- uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7
- 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