diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97c8b30..6cf561b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,21 +22,16 @@ jobs: JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: "${{ matrix.java }}" - distribution: adopt - - name: Coursier cache - uses: coursier/cache-action@v5 + distribution: zulu + cache: sbt + - uses: sbt/setup-sbt@v1 - name: Build and test run: | sbt -v scalafmtCheckAll sbt -v test - rm -rf "$HOME/.ivy2/local" || true - find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true - find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true - find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true - find $HOME/.sbt -name "*.lock" -delete || true shell: bash