diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68f0f7bdfe..0c959eb269 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository || github.event.pull_request.user.login == 'softwaremill-ci' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: @@ -34,6 +34,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - uses: sbt/setup-sbt@v1 - name: Set up JDK uses: actions/setup-java@v4 with: @@ -129,12 +130,13 @@ jobs: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository || github.event.pull_request.user.login == 'softwaremill-ci' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 # checkout tags so that dynver works properly (we need the version for MiMa) + - uses: sbt/setup-sbt@v1 - name: Set up JDK 21 uses: actions/setup-java@v4 with: @@ -148,13 +150,14 @@ jobs: name: Publish release needs: [ci] if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v')) - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: java: [ "11", "21" ] steps: - name: Checkout uses: actions/checkout@v4 + - uses: sbt/setup-sbt@v1 - name: Set up JDK uses: actions/setup-java@v4 with: @@ -207,7 +210,7 @@ jobs: name: Attach automerge label # only for PRs by softwaremill-ci if: github.event.pull_request.user.login == 'softwaremill-ci' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: @@ -222,7 +225,7 @@ jobs: # only for PRs by softwaremill-ci if: github.event.pull_request.user.login == 'softwaremill-ci' needs: [ ci, mima, label ] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - id: automerge name: automerge diff --git a/.github/workflows/dependency-graph.yml b/.github/workflows/dependency-graph.yml index dd1c249835..fa2b006273 100644 --- a/.github/workflows/dependency-graph.yml +++ b/.github/workflows/dependency-graph.yml @@ -9,7 +9,7 @@ on: jobs: update-graph: name: Update Dependency Graph - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: sbt/setup-sbt@v1 diff --git a/.github/workflows/rebase-cmd-dispatch.yml b/.github/workflows/rebase-cmd-dispatch.yml index fa7aa7d980..f77b455229 100644 --- a/.github/workflows/rebase-cmd-dispatch.yml +++ b/.github/workflows/rebase-cmd-dispatch.yml @@ -8,7 +8,7 @@ jobs: slashCommandDispatch: # to fast-skip for typical, non-rebase comments if: contains(github.event.comment.body, '/rebase') - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Slash Command Dispatch uses: peter-evans/slash-command-dispatch@v4 diff --git a/.github/workflows/rebase-cmd.yml b/.github/workflows/rebase-cmd.yml index 773b6c5464..6f4ba46e11 100644 --- a/.github/workflows/rebase-cmd.yml +++ b/.github/workflows/rebase-cmd.yml @@ -4,7 +4,7 @@ on: types: [rebase-command] jobs: rebase: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: peter-evans/rebase@v3 id: rebase diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml index 81dbec79a3..6c0d1fa4b0 100644 --- a/.github/workflows/scala-steward.yml +++ b/.github/workflows/scala-steward.yml @@ -8,7 +8,7 @@ on: jobs: scala-steward: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/test-report.yml b/.github/workflows/test-report.yml index bc9970f660..7da45fa814 100644 --- a/.github/workflows/test-report.yml +++ b/.github/workflows/test-report.yml @@ -12,7 +12,7 @@ permissions: jobs: report: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # If the workflow run was skipped or cancelled this action would fail, generating a test report is unnecessary. if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }} steps: