Skip to content

Version bumps to fix build and resolve CVE-2021-37136 and CVE-2021-37137 #143

Version bumps to fix build and resolve CVE-2021-37136 and CVE-2021-37137

Version bumps to fix build and resolve CVE-2021-37136 and CVE-2021-37137 #143

Workflow file for this run

name: CI
on:
push:
branches:
- develop
- rel/v*
pull_request:
branches: [ develop ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 11
- name: Run Checks
uses: burrunan/gradle-cache-action@v1
with:
job-id: jdk11-build-test
arguments: checkstyleMain checkstyleTest
build:
runs-on: ubuntu-latest
needs: [check]
strategy:
matrix:
pg: [10, 11, 12, 13]
jdk: [11]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jdk }}
- name: Setup PostgreSQL SSL Permissions
run: |
chmod 0400 ./driver/src/test/resources/certdir/server/server.key
sudo chown 70:70 ./driver/src/test/resources/certdir/server/server.key
- name: Build & Test
uses: burrunan/gradle-cache-action@v1
with:
job-id: jdk${{ matrix.jdk }}-build-test
properties: |
postgresVersions=${{ matrix.pg }}
arguments: test -x checkstyleMain -x checkstyleTest
deploy:
needs: [check, build]
if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/rel/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 11
- name: Publish Maven Artifacts
uses: burrunan/gradle-cache-action@v1
with:
job-id: jdk11-build-test
properties: |
postgresVersions=12
ossrhUsername=${{ secrets.OSSRH_USERNAME }}
ossrhPassword=${{ secrets.OSSRH_PASSWORD }}
arguments: publish
- name: Publish Documentation
uses: burrunan/gradle-cache-action@v1
env:
GRGIT_USER: kdubb
GRGIT_PASS: ${{ secrets.GITHUB_TOKEN }}
with:
job-id: jdk11-build-test
properties: |
postgresVersions=12
docsRepoUri=https://github.com/impossibl/pgjdbc-ng.git
arguments: documentation:gitPublishPush