lock down Ubuntu version for CI (#1264)

This commit is contained in:
Paul Fitzpatrick 2024-10-15 12:19:31 -04:00 committed by GitHub
parent 4b8f10fc12
commit 92b7687f75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 11 additions and 11 deletions

View File

@ -19,7 +19,7 @@ env:
jobs:
push_to_registry:
name: Push Docker images to Docker Hub
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
image:

View File

@ -45,7 +45,7 @@ env:
jobs:
push_to_registry:
name: Push latest Docker image to Docker Hub
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ vars.RUN_DAILY_BUILD }}
strategy:
matrix:
@ -169,7 +169,7 @@ jobs:
update_latest_branch:
name: Update latest branch
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: push_to_registry
steps:
- name: Check out the repo

View File

@ -12,7 +12,7 @@ on:
jobs:
build:
name: Build Docker image
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Build when the 'preview' label is added, or when PR is updated with this label present.
if: >
github.event_name == 'workflow_dispatch' ||

View File

@ -13,7 +13,7 @@ env:
jobs:
clean:
name: Clean stale deployed apps
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.repository_owner == 'gristlabs'
steps:
- uses: actions/checkout@v3

View File

@ -12,7 +12,7 @@ on:
jobs:
deploy:
name: Deploy app to fly.io
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: |
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'

View File

@ -14,7 +14,7 @@ on:
jobs:
destroy:
name: Remove app from fly.io
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Remove the deployment when 'preview' label is removed, or the PR is closed.
if: |
github.event_name == 'workflow_dispatch' ||

View File

@ -11,7 +11,7 @@ on:
jobs:
build_and_test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
# it is helpful to know which sets of tests would have succeeded,
# even when there is a failure.
@ -167,7 +167,7 @@ jobs:
candidate:
needs: build_and_test
if: ${{ success() && github.event_name == 'push' }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Fetch new candidate branch
uses: actions/checkout@v3

View File

@ -9,7 +9,7 @@ on:
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/add-to-project@v1.0.1
with:

View File

@ -12,7 +12,7 @@ permissions:
jobs:
build:
if: github.repository_owner == 'gristlabs'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with: