Skip to content

Commit

Permalink
Use ubuntu 24.04 as the runner in all workflows (#518)
Browse files Browse the repository at this point in the history
Update the runner used by all jobs in all workflows to use
`ubuntu-24.04` instead of `ubuntu-latest`.

`ubuntu-24.04` will become `ubuntu-latest` over the next month, see:

actions/runner-images#10636
  • Loading branch information
andrew-farries authored Dec 9, 2024
1 parent 2f637c3 commit 7655f53
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
benchmark:
name: 'benchmark (pg: ${{ matrix.pgVersion }})'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -37,7 +37,7 @@ jobs:

gather:
name: 'Gather results'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [benchmark]

steps:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
test:
name: 'test (pg: ${{ matrix.pgVersion }}, schema: ${{ matrix.testSchema }})'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -32,7 +32,7 @@ jobs:

lint:
name: lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
type-generation:
name: type generation
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -86,7 +86,7 @@ jobs:
check-ledger:
name: check ledger
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -104,7 +104,7 @@ jobs:
dead-code-check:
name: dead code check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -128,7 +128,7 @@ jobs:
license-check:
name: license check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -139,7 +139,7 @@ jobs:
examples-schema-validation:
name: validate examples JSON
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -149,7 +149,7 @@ jobs:
examples:
name: 'examples (pg: ${{ matrix.pgVersion }}, schema: ${{ matrix.testSchema }})'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
PGROLL_SCHEMA: ${{ matrix.testSchema }}

release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [test, lint, examples-schema-validation, examples, license-check, type-generation, dead-code-check, check-ledger]
if: startsWith(github.ref, 'refs/tags/')
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:
jobs:
publish:
name: Publish benchmarks
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
Expand Down Expand Up @@ -64,4 +64,4 @@ jobs:

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4

0 comments on commit 7655f53

Please sign in to comment.