Skip to content

Commit

Permalink
gha: use ubuntu-24.04 runners (#4437)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Dec 3, 2024
1 parent a5d9823 commit 900b979
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/redirects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name: redirects
jobs:
docs:
environment: release
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
pypi:
name: Publish to PyPI registry
environment: release
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
id-token: write

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:
prepare:
name: prepare
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.generate_matrix.outputs.matrix }}
steps:
Expand All @@ -48,7 +48,7 @@ jobs:
py313-devel
platforms: linux,macos
test-action:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
# This disables the github annotations in the output of ansible-lint action
# which might confuse users.
Expand All @@ -75,7 +75,7 @@ jobs:
expected_return_code: "2" # expected to fail because the given argument does not exist in this folder
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os || 'ubuntu-22.04' }}
runs-on: ${{ matrix.os || 'ubuntu-24.04' }}
needs:
- prepare
defaults:
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
# https://github.com/actions/toolkit/issues/193
codeql:
name: codeql
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
- build
- test-action

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
# checkout needed for codecov action which needs codecov.yml file
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mkdocs:
configuration: mkdocs.yml

build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.11"
commands:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
Expand Down
2 changes: 1 addition & 1 deletion docs/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ on:
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
Expand Down

0 comments on commit 900b979

Please sign in to comment.