Skip to content

Commit

Permalink
Updated action runners to ubuntu-24.04 (#4245)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiuszkierat authored Jan 10, 2025
1 parent b743f99 commit afa558a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebase-cmd-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebase-cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit afa558a

Please sign in to comment.