Commit 5bf39d4e authored by René Fritze's avatar René Fritze Committed by René Fritze
Browse files

[ci|gh] favor explicit ubuntu images over "latest"

parent 1eb4d18c
......@@ -8,14 +8,14 @@ jobs:
# paths that are modified in the pull request.
# https://github.com/actions/labeler/blob/main/README.md
Labeler:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# add the autoupdate label on PRs to main
autoupdate:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Add autoupdate label
......
......@@ -8,7 +8,7 @@ on:
jobs:
validate_cff:
name: "validate cff"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out a copy of the repository
uses: actions/checkout@v3
......
......@@ -26,7 +26,7 @@ jobs:
event_file:
# this is input for the pytest_results workflow
name: "Event File"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Upload
uses: actions/upload-artifact@v3
......
......@@ -6,7 +6,7 @@ on:
jobs:
enforce-label:
name: "Enforce pr:*"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: yogevbd/enforce-label-action@2.2.2
with:
......
......@@ -5,7 +5,7 @@ name: Git
jobs:
message-check:
name: Block Autosquash Commits
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Block Autosquash Commits
uses: xt0rted/block-autosquash-commits-action@v2
......@@ -13,7 +13,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
merge_conflict_job:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Find merge conflicts
steps:
# Checkout the source code so we have some files to look at.
......
......@@ -6,7 +6,7 @@ on: [pull_request]
jobs:
markdown-link-check:
name: Markdown
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: renefritze/github-action-markdown-link-check@master
......
......@@ -6,7 +6,7 @@ on:
jobs:
lint:
name: run_linter
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
......
......@@ -10,7 +10,7 @@ on:
jobs:
upload:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: >
${{ github.event.workflow_run.event == 'pull_request' }}
steps:
......
......@@ -9,7 +9,7 @@ on:
jobs:
unit-test-results:
name: Unit Test Results
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.event.workflow_run.conclusion != 'skipped'
steps:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment