Skip to content

Restore compatibility back to Swift 5.5 (#2) #5

Restore compatibility back to Swift 5.5 (#2)

Restore compatibility back to Swift 5.5 (#2) #5

Workflow file for this run

name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request: { types: [opened, reopened, synchronize, ready_for_review] }
push: { branches: [ main ] }
jobs:
unit-tests:
uses: vapor/ci/.github/workflows/run-unit-tests.yml@main
unit-tests-old:
if: ${{ !(github.event.pull_request.draft || false) }}
strategy:
fail-fast: false
matrix:
swift-image:
- swift:5.5-focal
- swift:5.6-focal
- swift:5.7-jammy
runs-on: ubuntu-latest
container: ${{ matrix.swift-image }}
timeout-minutes: 60
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Run unit tests
run: SWIFT_DETERMINISTIC_HASHING=1 swift test --sanitize=thread