Commit Graph
15 Commits
Author SHA1 Message Date
Rick Newton-Rogers 8c179eebff Add explicit read permissions to workflows (#566)
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 16:51:53 +00:00
Cory Benfield c1bcde58f6 Revert to @_implementationOnly import (#562)
Motivation:

Unfortunately, `internal import` doesn't do implementation-hiding in the
build system. This means that the C header files do become visible to
all dependencies, which can cause problems when the ssl.h headers from
elsewhere are included.

Modifications:

Revert to `@_implementationOnly` imports.

Result:

Better builds, unfortunately more warnings
2025-10-28 15:52:53 +00:00
Rick Newton-Rogers b2b043a881 Enable Swift 6.2 jobs in CI (#558)
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:45:52 +00:00
Raphael ab2784eb0f Enable release mode builds (#552)
### 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 08:09:20 +00:00
Rafael Cepeda f64263a41f Enabled -require-explicit-sendable compiler flag (#549)
Enabled -require-explicit-sendable compiler flag and fixed the errors
highlighted by the compiler.
2025-07-10 18:49:30 +01:00
Rick Newton-Rogers fe415631b1 Add static SDK CI workflow (#515)
Add static SDK CI workflow which runs on commits to PRs, merges to main
and daily on main.
2025-06-26 11:56:53 +01:00
Rick Newton-Rogers 4b38f35946 Drop Swift 5.9 (#536)
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.
2025-05-05 12:13:41 +01:00
Rick Newton-Rogers e5f59aeca6 Enable Swift 6.1 jobs in CI (#531)
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:39:35 +01:00
Rick Newton-Rogers fa7b4a5621 Switch integration tests to newer Swift test matrix (#519)
### Motivation:

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

### Modifications:

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

### Result:

This should make no difference to the running of integration tests.
2025-04-10 10:20:55 +01:00
Rick Newton-Rogers 71d303922f Enable macOS CI on pull requests (#517)
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:42:30 +01:00
Rick Newton-Rogers 46b12f0a9b Rename nightly_6_1 params to nightly_next (#510)
Rename nightly_6_1 params to nightly_next; see
https://github.com/apple/swift-nio/pull/3122
2025-03-03 14:37:17 +00:00
Rick Newton-RogersandCory Benfield b4a26ae126 CI use 6.1 nightlies (#504)
CI use 6.1 nightlies now that Swift development is happening in the 6.1
branch

Co-authored-by: Cory Benfield <lukasa@apple.com>
2025-01-30 14:53:03 +00:00
Rick Newton-Rogers 5f317df0d2 remove unused Swift 6 language mode workflow (#491)
remove unused Swift 6 language mode workflow
2024-11-15 09:57:07 +00:00
Rick Newton-Rogers 75e5a978e8 Switch allocation benchmarks to GHA (#488)
### Motivation:

This will allow us to decommission the old CI hooks.

### Modifications:

* Migrate the existing tests to use the package-benchmark framework.
* Delete the obsolete integration tests
* Remove allocations test references from the docker files.

### Result:

Allocation counts are checked using GitHub Actions.
2024-10-25 16:17:41 +01:00
Rick Newton-Rogers 61cfaf9798 Migrate to GitHub Actions (#487)
Migrate CI to use GitHub Actions.

### Motivation:

To migrate to GitHub actions and centralised infrastructure.

### Modifications:

Changes of note:
* Disable warnings-as-errors until issues with recent NIO changes are
resolved
* Adopt swift-format using rules from SwiftNIO
* Remove scripts which are no longer needed

### Result:

Feature parity with old CI minus allocation tests which remain on the
old CI.
2024-10-25 09:32:23 +01:00