Skip to content

Commit

Permalink
fix(ci): Run GitHub actions on ubuntu-22.04
Browse files Browse the repository at this point in the history
See [debug: Investigate broken releases](#170)
and [Ubuntu-latest workflows will use Ubuntu-24.04 image · Issue #10636 · actions/runner-images](actions/runner-images#10636 (comment)).
  • Loading branch information
RemiBardon committed Jan 26, 2025
1 parent 2530fc4 commit 514beb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
jobs:
create-github-release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -44,7 +44,7 @@ jobs:

ship-docker-image:
environment: build-ship
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

permissions:
packages: write
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ on:

jobs:
lint-rust:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -61,7 +61,7 @@ jobs:
run: cargo fmt -- --check

lint-openapi:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -77,7 +77,7 @@ jobs:
smoke-test:
if: github.event.pull_request.draft == false
needs: [lint-rust, lint-openapi]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
integration-test:
if: github.event.pull_request.draft == false
needs: smoke-test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout prose-pod-api
uses: actions/checkout@v4
Expand Down

0 comments on commit 514beb9

Please sign in to comment.