Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ SHA-256.
The weekly workflows compare the lock files in `tests/Fixtures` against the newest Caddy and
FrankenPHP, and against the Go version of the binary that `release.lock` names. Then
`go-net-http.yml` runs the `GoNetHttp` suite with that Go version, and `frankenphp.yml` runs each
suite with the newest FrankenPHP.
suite with the newest FrankenPHP. The weekly `works-with.yml` runs the handlers of the README with
the newest Symfony, Laravel and Slim, and the weekly `tests.yml` runs the stack newest. Every action
and every Docker image is pinned to a commit or a digest.

```sh
composer go:extract # cases.json again, after a change of a probe
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/caddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
caddy:
name: Newest Caddy
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/frankenphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
frankenphp:
name: Newest FrankenPHP
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/go-net-http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
go:
name: Go of FrankenPHP
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
permissions:
contents: read

# A second run waits for the first instead of ending it.
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false

jobs:
mutation:
name: Mutation · ${{ matrix.part }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: [main]
tags: ['v*']
pull_request:
# Weekly, as the stack newest changes with each release of a package, also without a commit here.
schedule:
- cron: '7 5 * * 1'

permissions:
contents: read
Expand Down
20 changes: 5 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ requires 100% line and type coverage, and the weekly mutation tests require a sc
12. [API reference](#api-reference)
13. [HTTP behavior](#http-behavior)
14. [Compatibility with FrankenPHP](#compatibility-with-frankenphp)
15. [Development](#development)
16. [Support](#support)
17. [License](#license)
18. [About the author](#about-the-author)
15. [Support](#support)
16. [License](#license)
17. [About the author](#about-the-author)

Sections 1 to 11 are for users. Sections 12 to 14 are for looking up the details.

Expand Down Expand Up @@ -1293,20 +1292,11 @@ in the form that Chrome receives: a chunked body as a single chunk, without trai
[`tests/Fixtures/README.md`](https://github.com/sorge-it/http-server/blob/main/tests/Fixtures/README.md) describes the cases, the probes and the lock
files.

## Development

Weekly jobs check the pins against the newest releases of Caddy and FrankenPHP and run the suites
with them. The weekly `works-with` job runs the handlers of
[Works with Symfony, Laravel and PSR-15](#works-with-symfony-laravel-and-psr-15) with the newest
Symfony, Laravel and Slim.
Every action and every Docker image is pinned to a commit or a digest.
[CONTRIBUTING.md](https://github.com/sorge-it/http-server/blob/main/.github/CONTRIBUTING.md) covers the setup, the tests and what a pull request
needs.

## Support

Found a bug? Open a pull request with a failing test; a fix is welcome but not required. The issue
tracker is closed; see [CONTRIBUTING.md](https://github.com/sorge-it/http-server/blob/main/.github/CONTRIBUTING.md). Report a vulnerability privately
tracker is closed; [CONTRIBUTING.md](https://github.com/sorge-it/http-server/blob/main/.github/CONTRIBUTING.md) covers the setup, the tests and
what a pull request needs. Report a vulnerability privately
through GitHub; see the [security policy](https://github.com/sorge-it/http-server/security/policy).

## License
Expand Down
Loading