32 Commits
Author SHA1 Message Date
Rick Newton-RogersandGeorge Barnett 335e5b5b9d Drop Swift 6.0 (#545)
Motivation:

Swift 6.0 is no longer supported, we should bump the tools version and
remove it from our CI.

Modifications:

* Bump the Swift tools version to Swift 6.1
* Remove Swift 6.0 jobs where appropriate in main.yml, pull_request.yml

Result:

Code reflects our support window.

---------

Co-authored-by: George Barnett <gbarnett@apple.com>
2026-04-07 12:14:31 +00:00
Rick Newton-Rogers ac262c1f36 Enable Swift 6.3 jobs in CI (#544)
Motivation:

Swift 6.3 has been released, we should add it to our CI coverage.

Modifications:

Add additional Swift 6.3 jobs where appropriate in main.yml,
pull_request.yml

Result:

Improved test coverage.
2026-04-01 14:03:11 +01:00
Fabian Fett 46ffc740ce Add HPACKEncoder Benchmark (#540)
### Motivation

swift-nio-http2 shall be fast. For fast http2 we need fast HPACK
encoding. We should measure `HPACKEncoder`s performance.

### Changes

- Add a benchmark target
- Add a `HPACKHeaderEncoding_APNS` benchmark that allows us to encode
the same fake apns header over and over.

### Result

We can measure the HPACK encoding performance.
2026-03-10 16:07:04 +00:00
Salman ChishtiandRick Newton-Rogers 04ce651639 Upgrade GitHub Actions for Node 24 compatibility (#536)
## Summary

Upgrade GitHub Actions to their latest versions to ensure compatibility
with Node 24, as Node 20 will reach end-of-life in April 2026.

## Changes

| Action | Old Version(s) | New Version | Release | Files |
|--------|---------------|-------------|---------|-------|
| `actions/checkout` |
[`v4`](https://github.com/actions/checkout/releases/tag/v4) |
[`v6`](https://github.com/actions/checkout/releases/tag/v6) |
[Release](https://github.com/actions/checkout/releases/tag/v6) |
main.yml, pull_request.yml, pull_request_label.yml |

## Context

Per [GitHub's
announcement](https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/),
Node 20 is being deprecated and runners will begin using Node 24 by
default starting March 4th, 2026.

### Why this matters

- **Node 20 EOL**: April 2026
- **Node 24 default**: March 4th, 2026
- **Action**: Update to latest action versions that support Node 24

### Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs
(updated to the latest release SHA) to maintain the security benefits of
immutable references.

### Testing

These changes only affect CI/CD workflow configurations and should not
impact application functionality. The workflows should be tested by
running them on a branch before merging.

Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
Co-authored-by: Rick Newton-Rogers <rnro@apple.com>
2026-03-02 13:40:45 +00:00
Rick Newton-Rogers fb87ca810f switch from main to 0.0.7 for swiftlang workflows (#537)
Motivation

* `@main` references to `swiftlang/github-workflows` are deprecated.

Modifications

* Replace `@main` with `@0.0.7` in all workflow files.

Result

* Workflow files reference a pinned version of
`swiftlang/github-workflows`.
2026-02-20 13:26:37 +00:00
Fabian FettandRick Newton-Rogers c2ba4cfbb8 Drop Swift 5.10, Use Swift 6 language mode (#525)
Co-authored-by: Rick Newton-Rogers <rnro@apple.com>
2025-11-11 14:39:46 +00:00
Rick Newton-Rogers 7205ab8219 Add explicit read permissions to workflows (#529)
Motivation:

* More secure GitHub Actions workflows

Modifications:

Add explicit 'contents: read' permissions to workflows that did not have
explicit permissions defined. This follows GitHub Actions security best
practices by limiting the default GITHUB_TOKEN permissions.

Result:

An extra layer of security.
2025-10-30 17:29:25 +00:00
Rick Newton-Rogers b450646b59 Enable Swift 6.2 jobs in CI (#526)
Motivation:

Swift 6.2 has been released, we should add it to our CI coverage.

Modifications:

Add additional Swift 6.2 jobs where appropriate in main.yml,
pull_request.yml

Result:

Improved test coverage.
2025-09-22 12:42:17 +00:00
Raphael 95c084ae51 Enable release mode builds (#524)
### Motivation:

Some errors do not show up in debug builds. Enabling release mode builds
improves the CI coverage.

### Modifications:

Enable release mode builds for pull requests and scheduled builds on
main.

### Result:

Improved CI coverage.
2025-07-30 09:00:19 +01:00
Rick Newton-Rogers 5ca52e2f07 Add static SDK CI workflow (#500)
Add static SDK CI workflow which runs on commits to PRs, merges to main
and daily on main.
2025-06-26 10:16:36 +00:00
Gus Cairo 623755c0cd Enable warnings as errors (#517) 2025-05-14 14:17:48 +01:00
Rick Newton-RogersandGeorge Barnett ee831fb9e7 Drop Swift 5.9 (#515)
Motivation:

Swift 5.9 is no longer supported, we should bump the tools version and
remove it from our CI.

Modifications:

* Bump the Swift tools version to Swift 5.10
* Remove Swift 5.9 jobs where appropriate in main.yml, pull_request.yml

Result:

Code reflects our support window.

---------

Co-authored-by: George Barnett <gbarnett@apple.com>
2025-05-07 07:59:35 +01:00
Rick Newton-Rogers 37c302e6da Enable Swift 6.1 jobs in CI (#512)
Motivation:

Swift 6.1 has been released, we should add it to our CI coverage.

Modifications:

Add additional Swift 6.1 jobs where appropriate in main.yml,
pull_request.yml

Result:

Improved test coverage.
2025-04-14 10:52:17 +01:00
Rick Newton-Rogers e574770917 Switch h2Spec tests to newer Swift test matrix (#511)
### Motivation:

To remove all uses of the older workflow so it can be removed to
simplify the workflows.

### Modifications:

* Switch h2Spec tests to use the newer Swift test matrix workflow,
`swift_test_matrix.yml`

### Result:

This should make no difference to the running of h2Spec tests.
2025-04-10 08:01:12 +01:00
Rick Newton-Rogers f98e90cbf6 Enable macOS CI on pull requests (#510)
Motivation:

* Improve test coverage

Modifications:

Enable macOS CI to be run on pull request commits and make the use of
the nightly runner pool for main.yml jobs explicit.

Result:

Improved test coverage.
2025-04-01 17:40:10 +01:00
Rick Newton-Rogers 9f0d47ef62 Enable macOS CI on merge to main and daily timer (#504)
Enable macOS CI on merge to main and daily timer

### Motivation:

* Improve test coverage
* Check test pass/fail status
* Monitor CI throughput

### Modifications:

Enable macOS CI to be run on all merges to main and on a daily timer.

### Result:

Improved test coverage run out-of-band at the moment so we can get a
feeling for if any changes need to be made in the repo or in the CI
pipelines to ensure timely and stable checks.
2025-03-26 17:01:11 +01:00
Rick Newton-Rogers b46cdf06d4 Update main.yml integration tests to use swift_test_matrix (#499)
Update main.yml integration tests to use `swift_test_matrix` as has been
done on the PR workflow. This brings it off the deprecated workflow and
should fix the nightly-6.1 issue
2025-03-14 14:50:09 +01:00
Rick Newton-Rogers dc299eae72 Delete Thresholds/nightly-6.1.json symlink (#497)
Following on from https://github.com/apple/swift-nio-http2/pull/496
delete `Thresholds/nightly-6.1.json` which is no longer needed now that
the shared benchmarks workflow has been updated
2025-03-07 12:09:27 +00:00
Rick Newton-Rogers 28b6e02d27 Rename nightly_6_1 params to nightly_next (#495)
Rename nightly_6_1 params to nightly_next; see
https://github.com/apple/swift-nio/pull/3122
2025-03-03 14:44:55 +00:00
Rick Newton-Rogers d3b538740b CI use 6.1 nightlies (#490)
CI use 6.1 nightlies now that Swift development is happening in the 6.1
branch
2025-01-31 10:09:44 +00:00
Franz Busch 1e0c8234ed Update release.yml (#489)
Update the release.yml file with the latest label changes
2024-12-18 13:09:06 +00:00
Franz Busch adbe5af20a Aligning semantic version label check name (#485) 2024-11-28 12:03:38 +00:00
Rick Newton-Rogers bb19976697 unify scheduled and main yamls (#482) 2024-11-15 09:55:22 +00:00
Peter Adams 4bce87f3cf Enable ShellCheck CI (#478)
Motivation:

Complete enablement of all standard GitHub Actions workflows.

Modifications:

Describe the modifications you've done.

Result:

After your change, what will change.
2024-10-30 15:22:05 +00:00
Peter Adams 70643b7392 Add integration tests to GitHub Actions (#476)
Motivation:

Testing is good - we should check results on PRs.

Modifications:

Add integration tests to PR and scheduled GitHub Actions workflows.

Result:
Integration tests run.
2024-10-30 13:23:03 +00:00
Peter Adams a4f8c3f1c0 Add HTTP/2 spec tests to CI (#475)
Motivation:

More testing is better.

Modifications:

Setup github actions to run http/2 spec tests.

Result:

Testing against http/2 spec occurs on pull requests
2024-10-29 14:00:09 +00:00
Peter Adams 1118370ec4 Apply swift-format changes and CI (#472)
Motivation:

Standardised formatting makes the project cleaner to look at and work
on.

Modifications:

Setup swift-format with the same settings as Swift-NIO

Result:

Common formatting throughout
2024-10-29 13:09:54 +00:00
Peter Adams 93586110f2 Enable python lint in CI (#474)
Motivation:

More checking is better

Modifications:

Enable and configure flake8

Result:

More CI checks
2024-10-29 11:01:43 +00:00
Peter Adams fd48cf3099 Allow warnings in CI (#473)
Motivation:

NIO is getting stricter concurrency annotations.
This is breaking this project, allow warnings until things settle.

Modifications:

Alter CI flags to allow warnings.

Result:

CI will continue to work for now.
2024-10-29 10:25:04 +00:00
Peter Adams bc93af21b0 GitHub Actions to parity with existing CI (#469)
Motivation:

Want to move away from legacy CI.

Modifications:

Add configuration and update code to use GitHub actions.

Result:

GitHub Actions can be used for basic CI.
2024-10-23 14:02:30 +00:00
Franz Busch 8e667f8070 Update release.yml (#459) 2024-09-06 12:55:49 +01:00
Franz Busch b5f7062b60 Adopt release.yml (#452)
# Motivation

We want to start using the GH based release notes drafting to make it easier for publishing new releases.

# Modification

This PR adds the `release.yml` and configured the correct labels
2024-07-29 03:18:51 -07:00