Skip to content

Commit

Permalink
release: v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
surpher committed May 13, 2024
1 parent 8dd52d3 commit 1ed8947
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,29 @@ on:
- 'style/**'
- 'test/**'
- 'tech/**'
- 'for-posterity/**'
- 'legacy/**'

env:
RUST_TARGET_PATH: pact-reference

jobs:

test:
name: Run ${{ matrix.platform }} on ${{ matrix.host }}
runs-on: ${{ matrix.host }}

strategy:
fail-fast: true
fail-fast: false
matrix:
host: [macos-13, macos-14]
platform: [ios, macos]
include:
- platform: ios
scheme: "PactSwift-iOS"
destination: "platform=iOS Simulator,name=iPhone 15 Pro"
destination: "platform=iOS Simulator,name=iPhone 14 Pro"
- platform: macos
scheme: "PactSwift-macOS"
destination: "arch=arm64"
destination: "arch=x86_64"
- host: macos-13
xcode: 14.3.1
- host: macos-14
Expand All @@ -52,7 +53,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Xcode ${{ matrix.xcode }}
run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app
Expand Down Expand Up @@ -87,7 +88,7 @@ jobs:
run: swift --version

- name: "⬇️ Checkout repository"
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Protoc
uses: arduino/setup-protoc@v1
Expand Down
13 changes: 11 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/surpher/PactSwiftMockServer.git",
"state" : {
"revision" : "c2f02dfba35618dc81f2863267a3a0cbec0fe9a8",
"version" : "0.4.3"
"revision" : "52df1915c4a1e702484bbdd9f41eb4fb915ba17f",
"version" : "0.5.0"
}
},
{
"identity" : "pactswiftserver",
"kind" : "remoteSourceControl",
"location" : "https://github.com/surpher/PactSwiftServer.git",
"state" : {
"revision" : "12ecc92092ecd3640dcc2dcb98ce6b3d1f2d76f7",
"version" : "0.4.7"
}
},
{
Expand Down
7 changes: 4 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let package = Package(
name: "PactSwift",

platforms: [
.macOS(.v10_12),
.macOS(.v10_15),
.iOS(.v12),
.tvOS(.v12)
],
Expand All @@ -32,7 +32,8 @@ let package = Package(
],

dependencies: [
.package(url: "https://github.com/surpher/PactSwiftMockServer.git", exact: "0.4.3"),
.package(url: "https://github.com/surpher/PactSwiftServer.git", exact: "0.4.7"),
.package(url: "https://github.com/surpher/PactSwiftMockServer.git", exact: "0.5.0"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.1"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.0.0"),
],
Expand All @@ -43,7 +44,7 @@ let package = Package(
.target(
name: "PactSwift",
dependencies: [
.product(name: "PactSwiftMockServer", package: "PactSwiftMockServer", condition: .when(platforms: [.iOS, .macOS, .tvOS])),
.product(name: "PactSwiftMockServer", package: "PactSwiftServer", condition: .when(platforms: [.iOS, .macOS, .tvOS])),
.product(name: "PactSwiftMockServerLinux", package: "PactSwiftMockServer", condition: .when(platforms: [.linux]))
],
path: "./Sources"
Expand Down

0 comments on commit 1ed8947

Please sign in to comment.