Skip to content

Commit

Permalink
Build env version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
mpartel committed Mar 5, 2024
1 parent f9f228b commit b632b61
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests-pg11.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Tests on PG11

on: [push]
on: [push, workflow_dispatch]

jobs:

build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build and run tests in Docker
run: env USE_DOCKER=1 POSTGRES_VERSION=11 ./build-and-test.sh
6 changes: 3 additions & 3 deletions .github/workflows/tests-pg12.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Tests on PG12

on: [push]
on: [push, workflow_dispatch]

jobs:

build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build and run tests in Docker
run: env USE_DOCKER=1 POSTGRES_VERSION=12 ./build-and-test.sh
6 changes: 3 additions & 3 deletions .github/workflows/tests-pg13.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Tests on PG13

on: [push]
on: [push, workflow_dispatch]

jobs:

build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build and run tests in Docker
run: env USE_DOCKER=1 POSTGRES_VERSION=13 ./build-and-test.sh
6 changes: 3 additions & 3 deletions .github/workflows/tests-pg14.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Tests on PG14

on: [push]
on: [push, workflow_dispatch]

jobs:

build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build and run tests in Docker
run: env USE_DOCKER=1 POSTGRES_VERSION=14 ./build-and-test.sh
6 changes: 3 additions & 3 deletions .github/workflows/tests-pg15.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Tests on PG15

on: [push]
on: [push, workflow_dispatch]

jobs:

build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build and run tests in Docker
run: env USE_DOCKER=1 POSTGRES_VERSION=15 ./build-and-test.sh
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

RUN apt-get update \
&& apt-get install -y curl gnupg2 zlib1g-dev \
&& echo "deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
&& echo "deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
&& curl -sL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Protocol Buffer extension for PostgreSQL

![Tests on PG11](https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG11/badge.svg)
![Tests on PG12](https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG12/badge.svg)
![Tests on PG13](https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG13/badge.svg)
![Tests on PG14](https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG14/badge.svg)
![Tests on PG15](https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG15/badge.svg)
[![Tests on PG11](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg11.yml/badge.svg?branch=master)](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg11.yml)
[![Tests on PG12](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg12.yml/badge.svg?branch=master)](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg12.yml)
[![Tests on PG13](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg13.yml/badge.svg?branch=master)](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg13.yml)
[![Tests on PG14](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg14.yml/badge.svg?branch=master)](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg14.yml)
[![Tests on PG15](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg15.yml/badge.svg?branch=master)](https://github.com/mpartel/postgres-protobuf/actions/workflows/tests-pg15.yml)

Features:

Expand Down

0 comments on commit b632b61

Please sign in to comment.