Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set github runner to ubuntu-22.04 #80

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
dependabot-auto-merge:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.actor == 'dependabot[bot]' }}
env:
PR_URL: ${{ github.event.pull_request.html_url }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ env:
full_image_uri: europe-north1-docker.pkg.dev/${{ inputs.gcp-project }}/${{ inputs.image-repo-name }}/${{ inputs.image-name }}
jobs:
docker_build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
DOCKER_BUILDKIT: 1
steps:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
"google_application_credentials.json=/tmp/google_auth_credentials.json"

kubernetes_deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [docker_build]
if: |
inputs.deployment-name != ''
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/lint-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ on:
jobs:
black:
if: inputs.black
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -102,7 +102,7 @@ jobs:

django-upgrade:
if: inputs.django-upgrade
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -116,7 +116,7 @@ jobs:

flake8:
if: inputs.flake8
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -140,7 +140,7 @@ jobs:

isort:
if: inputs.isort
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Authenticate with Google Cloud
Expand All @@ -165,7 +165,7 @@ jobs:

mypy:
if: inputs.mypy
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Authenticate with Google Cloud
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:

pyright:
if: inputs.pyright
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Authenticate with Google Cloud
Expand All @@ -229,7 +229,7 @@ jobs:

pyupgrade:
if: inputs.pyupgrade
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -243,7 +243,7 @@ jobs:

reorder-python-imports:
if: inputs.reorder-python-imports
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -264,7 +264,7 @@ jobs:

ruff:
if: inputs.ruff
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- id: get_version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/poetry-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

jobs:
build-publish:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.actor != 'dependabot[bot]'
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/poetry-version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
jobs:
versions:
# Gets the package version from the base and head branches.
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: |
github.event_name == 'pull_request'
&& github.actor != 'dependabot[bot]'
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
version-check:
name: Version check
needs: [versions]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-python@v5
with:
Expand All @@ -65,7 +65,7 @@ jobs:

version-check-git-tag:
name: Version check - git tag
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [versions]
steps:
- uses: actions/checkout@v4
Expand All @@ -83,7 +83,7 @@ jobs:

version-check-repo:
name: Version check - package repo
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [versions]
steps:
- name: Authenticate with Google Cloud
Expand Down