Skip to content

Fix mock server TCP segment splitting vulnerability #147

Fix mock server TCP segment splitting vulnerability

Fix mock server TCP segment splitting vulnerability #147

Workflow file for this run

name: PR
on: pull_request
concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true
permissions:
packages: read
jobs:
superlinter:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Lint codebase
uses: docker://github/super-linter:v3.8.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE: true
VALIDATE_MD: true
VALIDATE_YAML: true
verify-changelog:
name: Verify CHANGELOG is valid
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Verify CHANGELOG
uses: docker://ghcr.io/ponylang/changelog-tool:release
with:
args: changelog-tool verify
vs-release-ponyc-linux:
name: Test against recent ponyc release on Linux
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-libressl-4.2.0:release
services:
postgres:
image: postgres:14.5
env:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST_AUTH_METHOD: scram-sha-256
POSTGRES_INITDB_ARGS: "--auth-host=scram-sha-256"
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
postgres-ssl:
image: ghcr.io/ponylang/postgres-ci-pg-ssl:latest
env:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST_AUTH_METHOD: scram-sha-256
POSTGRES_INITDB_ARGS: "--auth-host=scram-sha-256"
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v4.1.1
- name: Unit tests
run: make unit-tests config=debug ssl=libressl
- name: Integration tests
run: make integration-tests config=debug ssl=libressl
env:
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_SSL_HOST: postgres-ssl
POSTGRES_SSL_PORT: 5432
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DATABASE: postgres
POSTGRES_MD5_USERNAME: md5user
POSTGRES_MD5_PASSWORD: md5pass