From 83b41c966867f7097dd15ab55694f06aae6baf6f Mon Sep 17 00:00:00 2001 From: akash1810 Date: Tue, 15 Oct 2024 06:52:02 +0100 Subject: [PATCH] ci: Obtain `sbt` from `sbt/setup-sbt` GitHub has removed `sbt` from the `ubuntu-latest` runner image (an alias of `ubuntu-24.04`). It is still available in `ubuntu-22.04`, but shouldn't be relied on. Obtain `sbt` from the `sbt/setup-sbt` action instead. --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1de7f02..8c5a06c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,7 @@ on: - main jobs: CI: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: contents: read @@ -34,6 +34,8 @@ jobs: distribution: 'corretto' cache: 'sbt' + - uses: sbt/setup-sbt@v1 + # Build CDK and Play (in sequence) - run: ./script/ci