Skip to content

Commit

Permalink
Use ubuntu-22.04 for github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
aacic committed Jan 14, 2025
1 parent d224871 commit 360efb8
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 23 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CD-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:

jobs:
check-user-permissions:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check user permission
uses: stjude/proteinpaint/.github/actions/check-user-permissions@master
Expand All @@ -39,7 +39,7 @@ jobs:

publish-npm:
needs: check-user-permissions
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write
packages: write
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:

upload-rust-assets:
needs: rust-build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Upload rust assets
uses: stjude/proteinpaint/.github/actions/upload-rust-assets@master
Expand All @@ -130,7 +130,7 @@ jobs:
publish-docker-no-new-rust-module:
if: needs.publish-npm.outputs.updated_rust == 'false' && github.event.inputs.include == 'npm packages + Docker image'
needs: publish-npm
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Publish docker image
uses: stjude/proteinpaint/.github/actions/publish-docker@master
Expand All @@ -141,7 +141,7 @@ jobs:
publish-docker-with-new-rust-module:
if: github.event.inputs.include == 'npm packages + Docker image'
needs: upload-rust-assets
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Publish docker image
uses: stjude/proteinpaint/.github/actions/publish-docker@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CD-publish-app-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
check-user-permissions:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check user permission
uses: stjude/proteinpaint/.github/actions/check-user-permissions@master
Expand All @@ -31,7 +31,7 @@ jobs:

build:
needs: check-user-permissions
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CD-publish-blat-server-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
check-user-permissions:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check user permission
uses: stjude/proteinpaint/.github/actions/check-user-permissions@master
Expand All @@ -25,7 +25,7 @@ jobs:
build:
needs: check-user-permissions
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CD-publish-deps-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:

jobs:
check-user-permissions:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check user permission
uses: stjude/proteinpaint/.github/actions/check-user-permissions@master
Expand All @@ -34,7 +34,7 @@ jobs:
needs: check-user-permissions
timeout-minutes: 80
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CD-publish-dev-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CD-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:

jobs:
check-user-permissions:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check user permission
uses: stjude/proteinpaint/.github/actions/check-user-permissions@master
Expand All @@ -35,7 +35,7 @@ jobs:

publish:
needs: check-user-permissions
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CD-publish-rust-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
description: Build secret
jobs:
check-user-permissions:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check user permission
uses: stjude/proteinpaint/.github/actions/check-user-permissions@master
Expand All @@ -23,7 +23,7 @@ jobs:

upload-rust-assets:
needs: rust-build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Upload rust assets
uses: stjude/proteinpaint/.github/actions/upload-rust-assets@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CD-publish-rust-bookworm-env-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
check-user-permissions:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check user permission
uses: stjude/proteinpaint/.github/actions/check-user-permissions@master
Expand All @@ -25,7 +25,7 @@ jobs:
build:
needs: check-user-permissions
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CD-publish-tile-server-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
check-user-permissions:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- id: set-build-secret
run: |
Expand All @@ -28,7 +28,7 @@ jobs:
build:
needs: check-user-permissions
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CD-rust-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: ghcr.io/stjude/rust:latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-merge-change-log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
merge:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
build:
if: (github.event_name == 'workflow_call') || (github.event_name == 'push' && github.event.head_commit.author.email != 'PPTeam@STJUDE.ORG') || (github.event_name == 'pull_request')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 20

steps:
Expand Down

0 comments on commit 360efb8

Please sign in to comment.