mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
33 lines
775 B
YAML
33 lines
775 B
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize, ready_for_review]
|
|
|
|
## We are cancelling previously triggered workflow runs
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
unit-tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
swift:
|
|
- image: swift5.8-jammy
|
|
- image: swift5.9-jammy
|
|
- image: swift5.10-noble
|
|
- image: swiftlang/swift:nightly-6.0-jammy
|
|
- image: swiftlang/swift:nightly-main-jammy
|
|
container:
|
|
image: ${{ matrix.swift.image }}
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Run tests
|
|
run: swift test
|
|
timeout-minutes: 20
|
|
|
|
|