Skip to content

feat: support multiple HTTP connections #12

feat: support multiple HTTP connections

feat: support multiple HTTP connections #12

---
name: Linting & Formatting
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
formatter:
name: Formatting
runs-on: [ubuntu-latest]
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- uses: DoozyX/clang-format-lint-action@c71d0bf4e21876ebec3e5647491186f8797fde31
with:
clangFormatVersion: 14
inplace: true
extensions: "cpp,hpp"
exclude: "./external"
- uses: reviewdog/action-suggester@db4abb16fbaabe386831e5addb7be1485d0d63d3
with:
tool_name: clang-format
filter_mode: diff_context
linter:
name: Linting
runs-on: [ubuntu-latest]
permissions:
contents: read
pull-requests: write
security-events: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
persist-credentials: false
- uses: oxsecurity/megalinter/flavors/documentation@1fc052d03c7a43c78fe0fee19c9d648b749e0c01 # v8.3.0
env:
APPLY_FIXES: all
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: github/codeql-action/upload-sarif@515828d97454b8354517688ddc5b48402b723750 # v2.1.38
# if: ${{ success() || failure() }}
# with:
# sarif_file: megalinter-reports/megalinter-report.sarif
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
if: ${{ success() || failure() }}
with:
name: linter
path: |
megalinter-reports
- uses: reviewdog/action-suggester@db4abb16fbaabe386831e5addb7be1485d0d63d3
with:
tool_name: MegaLinter
filter_mode: diff_context