From a9345ebc2296a8efb0be2428bf851cdea805c75b Mon Sep 17 00:00:00 2001 From: Tim Condon <0xTim@users.noreply.github.com> Date: Mon, 16 May 2022 08:46:29 +0200 Subject: [PATCH] Update Supported Swift Versions (#45) --- .github/workflows/test.yml | 27 ++++++--------------------- Package.swift | 2 +- 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f871bde..27c5b16 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,25 +3,10 @@ on: pull_request: push: branches: - - master + - main jobs: - linux: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - image: - # 5.2 Stable - - swift:5.2 - - swift:5.3 - - swift:5.4 - - swift:5.5 - container: ${{ matrix.image }} - steps: - - uses: actions/checkout@v2 - - run: swift test --enable-test-discovery --sanitize=thread - macOS: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - run: swift test --enable-test-discovery --sanitize=thread + unit-tests: + uses: vapor/ci/.github/workflows/run-unit-tests.yml@reusable-workflows + with: + with_coverage: false + with_tsan: true diff --git a/Package.swift b/Package.swift index 0cb96c7..b6db24c 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.2 +// swift-tools-version:5.4 import PackageDescription let package = Package(