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: jobs:
push_to_registry: push_to_registry:
name: Push Docker images to Docker Hub name: Push Docker images to Docker Hub
runs-on: ubuntu-latest runs-on: ubuntu-22.04
strategy: strategy:
matrix: matrix:
image: image:

View File

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

View File

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

View File

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

View File

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

View File

@ -14,7 +14,7 @@ on:
jobs: jobs:
destroy: destroy:
name: Remove app from fly.io 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. # Remove the deployment when 'preview' label is removed, or the PR is closed.
if: | if: |
github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_dispatch' ||

View File

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

View File

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

View File

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