Skip to content

Bump coursier/cache-action from 6.4.7 to 6.4.8 #894

Bump coursier/cache-action from 6.4.7 to 6.4.8

Bump coursier/cache-action from 6.4.7 to 6.4.8 #894

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
sbt_version: "2"
- java: 8
- java: 25
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
java-version: ${{matrix.java}}
distribution: zulu
- uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1.1.14
- uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433 # v6.4.8
- 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 "+ scalafmtCheckAll" scalafmtSbtCheck
- run: sbt -v "set pluginCrossBuild / sbtVersion := \"${{matrix.sbt_version}}\"" test scripted
if: ${{ matrix.sbt_version != '' && matrix.sbt_version != '2' }}
- run: sbt -v test scripted
if: ${{ matrix.sbt_version == '' }}
- run: sbt -v "++ 3.x" Test/compile test scripted
if: ${{ matrix.sbt_version == '2' }}
- run: rm -rf "$HOME/.ivy2/local" || true