diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e47a1cf..f59a117 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,17 +59,20 @@ jobs: - 17 steps: - name: Checkout project - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.head_ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} fetch-depth: 0 - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 + - name: Run Coursier Cache Action + uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6 + + - name: Run Coursier Setup Action + uses: coursier/setup-action@62c1c28a0e03df3de0680172df8b829bd80d07a0 # v1.3.7 with: - distribution: "liberica" - java-version: ${{ matrix.jdk }} - cache: "sbt" + jvm: liberica:${{ matrix.jdk }} + apps: sbt - name: Run `sbt ci-test` run: sbt ci-test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87f08e6..d4117f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 @@ -37,7 +37,7 @@ jobs: if: github.event_name == 'push' uses: alejandrohdezma/actions/check-semver-tag@v1 - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 + - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 with: distribution: "liberica" java-version: "11" @@ -59,13 +59,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 ref: main token: ${{ secrets.ADMIN_GITHUB_TOKEN }} - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 + - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 with: distribution: "liberica" java-version: "17" diff --git a/project/build.properties b/project/build.properties index c068508..c7450fc 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.10.4 \ No newline at end of file +sbt.version=1.10.5 \ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt index d851b67..14f2ca0 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0") -addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.15.1") +addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.16.0") addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.2") addSbtPlugin("com.alejandrohdezma" % "sbt-github-mdoc" % "0.12.0") addSbtPlugin("com.alejandrohdezma" % "sbt-github-header" % "0.12.0")