Skip to content
Merged
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
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
### Testing

To enable pull request testing for all supported Swift versions (5.8, 5.9, 5.10,
6.0, and nightly) on Linux, add the following code example in
6.0, and nightly) on Linux and Windows, add the following code example in
`.github/workflows/pull_request.yml`:

```yaml
Expand All @@ -58,10 +58,11 @@ jobs:
```

If your package only supports newer compiler versions, you can exclude older
versions by using the `exclude_swift_versions` workflow input:
versions by using the `*_exclude_swift_versions` workflow input:

```yaml
exclude_swift_versions: "[{\"swift_version\": \"5.8\"}]"
linux_exclude_swift_versions: "[{\"swift_version\": \"5.8\"}, {\"swift_version\": \"5.9\"}]"
windows_exclude_swift_versions: "[{\"swift_version\": \"5.9\"}]"
```

Additionally, if your package requires additional installed packages, you can
Expand All @@ -72,7 +73,7 @@ use the `pre_build_command`. For example, to install a package called
pre_build_command: "which example || (apt update -q && apt install -yq example"
```

macOS and Windows platform support will be available soon.
macOS platform support will be available soon.

## Running workflows locally

Expand Down