File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,16 @@ jobs:
21
21
run : env USE_DOCKER=1 POSTGRES_VERSION=12 ./build-and-test.sh
22
22
- name : Test on PG13
23
23
run : env USE_DOCKER=1 POSTGRES_VERSION=13 ./build-and-test.sh
24
+ - name : Test on PG14
25
+ run : env USE_DOCKER=1 POSTGRES_VERSION=14 ./build-and-test.sh
24
26
- name : Build for PG11
25
27
run : env POSTGRES_VERSION=11 ./docker-build-dist.sh
26
28
- name : Build for PG12
27
29
run : env POSTGRES_VERSION=12 ./docker-build-dist.sh
28
30
- name : Build for PG13
29
31
run : env POSTGRES_VERSION=13 ./docker-build-dist.sh
32
+ - name : Build for PG14
33
+ run : env POSTGRES_VERSION=14 ./docker-build-dist.sh
30
34
- name : Create Release
31
35
id : create_release
32
36
uses : actions/create-release@v1
64
68
asset_path : ./dist/postgres-protobuf-${{ steps.get_version.outputs.VERSION }}-linux-x86_64-for-pg13.tar.gz
65
69
asset_name : postgres-protobuf-${{ steps.get_version.outputs.VERSION }}-linux-x86_64-for-pg13.tar.gz
66
70
asset_content_type : application/gzip
71
+ - name : Upload PG14 tarball
72
+ uses : actions/upload-release-asset@v1
73
+ env :
74
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
75
+ with :
76
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
77
+ asset_path : ./dist/postgres-protobuf-${{ steps.get_version.outputs.VERSION }}-linux-x86_64-for-pg14.tar.gz
78
+ asset_name : postgres-protobuf-${{ steps.get_version.outputs.VERSION }}-linux-x86_64-for-pg14.tar.gz
79
+ asset_content_type : application/gzip
Original file line number Diff line number Diff line change
1
+ name: Tests on PG14
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+
7
+ build:
8
+
9
+ runs-on: ubuntu-18.04
10
+
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Build and run tests in Docker
14
+ run: env USE_DOCKER=1 POSTGRES_VERSION=14 ./build-and-test.sh
Original file line number Diff line number Diff line change 3
3
![ Tests on PG11] ( https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG11/badge.svg )
4
4
![ Tests on PG12] ( https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG12/badge.svg )
5
5
![ Tests on PG13] ( https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG13/badge.svg )
6
+ ![ Tests on PG14] ( https://github.com/mpartel/postgres-protobuf/workflows/Tests%20on%20PG14/badge.svg )
6
7
7
8
Features:
8
9
@@ -125,7 +126,7 @@ before relying on it too heavily in a design.
125
126
126
127
### Security
127
128
128
- This extension is fairly new and written in C++, so some caution is warranted.
129
+ This extension is written in C++, so some caution is warranted.
129
130
It's may be unwise to give it untrusted queries or protobuf data that you haven't
130
131
parsed and reserialized first. Conversion to/from JSON should be safer since it
131
132
thinly wraps the well-tested protobuf library, but see the note about memory management below.
You can’t perform that action at this time.
0 commit comments