Skip to content

Commit

Permalink
Specify Ubuntu 20.04 instead of 'latest' in github configuration.
Browse files Browse the repository at this point in the history
'ubuntu-latest' is currently documented as being 20.04:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on

But let's lock that in now rather than surrender our update schedule
to GitHub.
  • Loading branch information
epgts committed May 31, 2022
1 parent a89944b commit 13d1741
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
clippy:
name: Clippy Test
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: timescaledev/rust-pgx:latest
env:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

test12:
name: Test PG 12
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: timescaledev/rust-pgx:latest

Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:

test13:
name: Test PG 13
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: timescaledev/rust-pgx:latest

Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:

test14:
name: Test PG 14
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: timescaledev/rust-pgx:latest

Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:

testcrates:
name: Test Crates
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: timescaledev/rust-pgx:latest
env:
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:

testupdates:
name: Test Updates
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: timescaledev/rust-pgx:latest
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
package:
env:
GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB_PACKAGE }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/patch_build.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-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/report_packaging_failures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
on-failure:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: ${{ github.event.workflow_run.conclusion != 'success' && github.event.workflow_run.event != 'pull_request' }}
steps:
- name: slack-send
Expand Down

0 comments on commit 13d1741

Please sign in to comment.