Upgrade to Ubuntu 2024.04 as GitHub is stuck with Ubuntu-latest at 2022.04.

This commit is contained in:
Patrick Lehmann
2024-07-30 02:06:42 +02:00
parent da3cdbe96a
commit 13c1a56f92
23 changed files with 28 additions and 28 deletions

View File

@@ -38,7 +38,7 @@ on:
jobs: jobs:
ArtifactCleanUp: ArtifactCleanUp:
name: 🗑️ Artifact Cleanup name: 🗑️ Artifact Cleanup
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: 🗑️ Delete package Artifacts - name: 🗑️ Delete package Artifacts

View File

@@ -34,7 +34,7 @@ on:
jobs: jobs:
BuildTheDocs: BuildTheDocs:
name: 📓 Run BuildTheDocs name: 📓 Run BuildTheDocs
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository

View File

@@ -42,7 +42,7 @@ on:
jobs: jobs:
DocCoverage: DocCoverage:
name: 👀 Check documentation coverage name: 👀 Check documentation coverage
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@@ -63,7 +63,7 @@ jobs:
Coverage: Coverage:
name: 📈 Collect Coverage Data using Python ${{ inputs.python_version }} name: 📈 Collect Coverage Data using Python ${{ inputs.python_version }}
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository

View File

@@ -36,7 +36,7 @@ on:
jobs: jobs:
IntermediateCleanUp: IntermediateCleanUp:
name: 🗑️ Intermediate Artifact Cleanup name: 🗑️ Intermediate Artifact Cleanup
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: 🗑️ Delete SQLite coverage artifacts from matrix jobs - name: 🗑️ Delete SQLite coverage artifacts from matrix jobs
uses: geekyeggo/delete-artifact@v5 uses: geekyeggo/delete-artifact@v5

View File

@@ -42,7 +42,7 @@ on:
jobs: jobs:
PDFDocumentation: PDFDocumentation:
name: 📓 Converting LaTeX Documentation to PDF name: 📓 Converting LaTeX Documentation to PDF
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: 📥 Download artifacts '${{ inputs.latex_artifact }}' from 'SphinxDocumentation' job - name: 📥 Download artifacts '${{ inputs.latex_artifact }}' from 'SphinxDocumentation' job
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4

View File

@@ -44,7 +44,7 @@ jobs:
Package: Package:
name: 📦 Package in Source and Wheel Format name: 📦 Package in Source and Wheel Format
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository

View File

@@ -76,7 +76,7 @@ on:
jobs: jobs:
Parameters: Parameters:
runs-on: ubuntu-latest runs-on: ubuntu-24.04
outputs: outputs:
python_version: ${{ steps.params.outputs.python_version }} python_version: ${{ steps.params.outputs.python_version }}
python_jobs: ${{ steps.params.outputs.python_jobs }} python_jobs: ${{ steps.params.outputs.python_jobs }}
@@ -157,7 +157,7 @@ jobs:
}, },
# Runner systems (runner images) supported by GitHub Actions # Runner systems (runner images) supported by GitHub Actions
"sys": { "sys": {
"ubuntu": { "icon": "🐧", "runs-on": "ubuntu-latest", "shell": "bash", "name": "Linux (x86-64)" }, "ubuntu": { "icon": "🐧", "runs-on": "ubuntu-24.04", "shell": "bash", "name": "Linux (x86-64)" },
"windows": { "icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)" }, "windows": { "icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)" },
"macos": { "icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)" }, "macos": { "icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)" },
}, },

View File

@@ -57,7 +57,7 @@ on:
jobs: jobs:
PublishCoverageResults: PublishCoverageResults:
name: 📊 Publish Code Coverage Results name: 📊 Publish Code Coverage Results
runs-on: ubuntu-latest runs-on: ubuntu-24.04
if: always() if: always()
steps: steps:

View File

@@ -48,7 +48,7 @@ jobs:
PublishOnPyPI: PublishOnPyPI:
name: 🚀 Publish to PyPI name: 🚀 Publish to PyPI
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: 📥 Download artifacts '${{ inputs.artifact }}' from 'Package' job - name: 📥 Download artifacts '${{ inputs.artifact }}' from 'Package' job

View File

@@ -39,7 +39,7 @@ on:
jobs: jobs:
PublishTestResults: PublishTestResults:
name: 📊 Publish Test Results name: 📊 Publish Test Results
runs-on: ubuntu-latest runs-on: ubuntu-24.04
if: always() if: always()
steps: steps:

View File

@@ -44,7 +44,7 @@ jobs:
PublishToGitHubPages: PublishToGitHubPages:
name: 📚 Publish to GH-Pages name: 📚 Publish to GH-Pages
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository

View File

@@ -29,7 +29,7 @@ jobs:
Release: Release:
name: 📝 Create 'Release Page' on GitHub name: 📝 Create 'Release Page' on GitHub
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: 🔁 Extract Git tag from GITHUB_REF - name: 🔁 Extract Git tag from GITHUB_REF

View File

@@ -73,7 +73,7 @@ on:
jobs: jobs:
Sphinx: Sphinx:
name: 📓 Documentation generation using Sphinx and Python ${{ inputs.python_version }} name: 📓 Documentation generation using Sphinx and Python ${{ inputs.python_version }}
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository

View File

@@ -63,7 +63,7 @@ jobs:
StaticTypeCheck: StaticTypeCheck:
name: 👀 Check Static Typing using Python ${{ inputs.python_version }} name: 👀 Check Static Typing using Python ${{ inputs.python_version }}
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository

View File

@@ -41,7 +41,7 @@ jobs:
Image: Image:
runs-on: ubuntu-latest runs-on: ubuntu-24.04
env: env:
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
steps: steps:
@@ -60,7 +60,7 @@ jobs:
Composite: Composite:
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -120,7 +120,7 @@ jobs:
needs: needs:
- Image - Image
- Composite - Composite
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@@ -35,7 +35,7 @@ jobs:
VerifyDocs: VerifyDocs:
name: 👍 Verify example snippets using Python ${{ inputs.python_version }} name: 👍 Verify example snippets using Python ${{ inputs.python_version }}
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository

View File

@@ -36,7 +36,7 @@ jobs:
name: Package generation name: Package generation
needs: needs:
- Params - Params
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: Package creation - name: Package creation
run: echo "Package" >> package.txt run: echo "Package" >> package.txt

View File

@@ -64,7 +64,7 @@ jobs:
- Params_Exclude - Params_Exclude
- Params_Disable - Params_Disable
- Params_All - Params_All
runs-on: ubuntu-latest runs-on: ubuntu-24.04
defaults: defaults:
run: run:
shell: python shell: python

View File

@@ -81,7 +81,7 @@ The following block shows a minimal YAML workflow file:
jobs: jobs:
mwe: mwe:
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
# Clone repository # Clone repository
@@ -171,7 +171,7 @@ For prototyping purposes, the following job might be useful:
Release: Release:
name: '📦 Release' name: '📦 Release'
runs-on: ubuntu-latest runs-on: ubuntu-24.04
needs: needs:
- ... - ...
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/'>`__) if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/'>`__)

View File

@@ -76,7 +76,7 @@ Documentation Only (Sphinx)
needs: needs:
- BuildTheDocs - BuildTheDocs
- PublishToGitHubPages - PublishToGitHubPages
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: 🗑️ Delete artifacts - name: 🗑️ Delete artifacts

View File

@@ -75,7 +75,7 @@ on:
jobs: jobs:
mwe: mwe:
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
# Clone repository # Clone repository
@@ -156,7 +156,7 @@ For prototyping purposes, the following job might be useful:
```yml ```yml
Release: Release:
name: '📦 Release' name: '📦 Release'
runs-on: ubuntu-latest runs-on: ubuntu-24.04
needs: needs:
- ... - ...
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/')) if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/'))

View File

@@ -67,7 +67,7 @@ data = {
}, },
# Runner systems (runner images) supported by GitHub Actions # Runner systems (runner images) supported by GitHub Actions
"sys": { "sys": {
"ubuntu": {"icon": "🐧", "runs-on": "ubuntu-latest", "shell": "bash", "name": "Linux (x86-64)"}, "ubuntu": {"icon": "🐧", "runs-on": "ubuntu-24.04", "shell": "bash", "name": "Linux (x86-64)"},
"windows": {"icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)"}, "windows": {"icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)"},
"macos": {"icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)"}, "macos": {"icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)"},
}, },