diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 613cc8f..da4a93a 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -13,14 +13,13 @@ jobs: fail-fast: false matrix: image: - - swift:5.2.5-xenial - - swift:5.3.2-xenial - - swift:5.3.2-bionic - - swift:5.5.0-focal + - swift:5.5.3-xenial + - swift:5.6.1-bionic + - swift:5.7.2-focal container: ${{ matrix.image }} steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build Swift Debug Package run: swift build -c debug - name: Build Swift Release Package @@ -29,11 +28,11 @@ jobs: runs-on: macos-latest steps: - name: Select latest available Xcode - uses: maxim-lobanov/setup-xcode@v1.2.1 + uses: maxim-lobanov/setup-xcode@v1.5.1 with: - xcode-version: 13 + xcode-version: 13.2.1 - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build Swift Debug Package run: swift build -c debug - name: Build Swift Release Package diff --git a/Package.swift b/Package.swift index 22fb781..03a27c9 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.2 +// swift-tools-version:5.5 import PackageDescription @@ -13,12 +13,11 @@ let package = Package( dependencies: [ .package(url: "https://github.com/Macro-swift/Macro.git", - from: "0.8.11"), + from: "1.0.0"), .package(url: "https://github.com/Macro-swift/MacroExpress.git", - from: "0.8.8"), + from: "1.0.0"), .package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", - // b0rked release:.upToNextMajor(from:"0.5.1")) - .exact("0.4.0")) + from: "0.5.2") ], targets: [ @@ -28,6 +27,9 @@ let package = Package( .product(name: "express" , package: "MacroExpress"), .product(name: "AWSLambdaRuntime" , package: "swift-aws-lambda-runtime"), .product(name: "AWSLambdaEvents" , package: "swift-aws-lambda-runtime") + ], + exclude: [ + "README.md" ]), .target(name: "MacroLambda", dependencies: [ "MacroLambdaCore",