diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 09c4651..8a28744 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,17 +2,8 @@ name: test on: - pull_request jobs: - leaf_xenial: - container: - image: vapor/swift:5.2-xenial - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - run: swift test --enable-test-discovery --sanitize=thread - leaf_bionic: - container: - image: vapor/swift:5.2-bionic - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - 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 d4a1284..f5ad47c 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(