Skip to content

Update release.yml (#108) #58

Update release.yml (#108)

Update release.yml (#108) #58

Workflow file for this run

name: Main
on:
push:
branches: [main]
schedule:
- cron: "0 8,20 * * *"
jobs:
unit-tests:
name: Unit tests
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
with:
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
samples:
name: Samples
uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main
with:
name: "Samples"
matrix_linux_command: "cd Samples/ && swift build --explicit-target-dependency-import-check error"