Skip to content

Commit

Permalink
Update GitHub actions runners from ubuntu-latest to ubuntu-24.04 (#…
Browse files Browse the repository at this point in the history
…315)

Signed-off-by: Jürgen Kreileder <jk@blackdown.de>
  • Loading branch information
jkreileder committed May 16, 2024
1 parent 474efe9 commit 046c80d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
dependency-review:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
docker:
name: Docker build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-test-results.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
publish-test-results:
name: Publish test results
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.event.workflow_run.conclusion != 'skipped' }}

permissions:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
upload-event-file:
name: Upload event file
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
Expand All @@ -32,7 +32,7 @@ jobs:

build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/') }}
needs:
- provenance-and-draft-release
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
environment:
name: test-pypi
url: https://test.pypi.org/p/cf-ips-to-hcloud-fw
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
needs:
- provenance-and-draft-release
- publish-to-test-pypi
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
environment:
name: pypi
url: https://pypi.org/p/cf-ips-to-hcloud-fw
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/') }}
needs:
- publish-to-pypi
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: write

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
Expand Down

0 comments on commit 046c80d

Please sign in to comment.