Skip to content

Commit

Permalink
Deployment target 14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Apr 13, 2024
1 parent 1eecb38 commit 74dba20
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ jobs:
strategy:
fail-fast: false
matrix:
xcode: ["15.0", "15.3"]
xcode: ["14.3", "15.0", "15.3"]
include:
- xcode: "15.3"
macos: macOS-14
- xcode: "15.0"
macos: macOS-14
- xcode: "14.3"
macos: macOS-13
runs-on: ${{ matrix.macos }}
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
Expand All @@ -40,17 +42,3 @@ jobs:
- uses: actions/checkout@v2
- name: Run Tests
run: swift test

discover-typos:
name: Discover Typos
runs-on: macOS-13
env:
DEVELOPER_DIR: /Applications/Xcode_14.3.1.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Discover typos
run: |
export PATH="$PATH:/Library/Frameworks/Python.framework/Versions/3.11/bin"
python3 -m pip install --upgrade pip
python3 -m pip install codespell
codespell --ignore-words-list="hart,inout,msdos,sur" --skip="./.build/*"
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Get 2.x

## Get 2.2.0
## Get 2.2

*Apr 13, 2024*

- Increase the minimum supported Xcode version to 15.0
- Increase the minimum supported Xcode version to 14.3
- Fix warnings in unit tests

## Get 2.1.6
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Get is a lean framework with a lot of flexibility and customization points. It m

| Get | Date | Swift | Xcode | Platforms |
|------|--------------|-------|-------|------------------------------------------------------|
| 2.2 | Apr 13, 2022 | 5.9 | 15.0 | iOS 13.0, watchOS 6.0, macOS 10.15, tvOS 13.0, Linux |
| 2.2 | Apr 13, 2024 | 5.8 | 14.3 | iOS 13.0, watchOS 6.0, macOS 10.15, tvOS 13.0, Linux |
| 2.0 | Jul 26, 2022 | 5.5 | 13.3 | iOS 13.0, watchOS 6.0, macOS 10.15, tvOS 13.0, Linux |

## License
Expand Down
4 changes: 4 additions & 0 deletions Tests/GetTests/ClientSessionDelegateTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ final class APIClientSessionDelegateTests: XCTestCase {

client.session.invalidateAndCancel()

#if swift(>=5.9)
await fulfillment(of: [expectation], timeout: 2)
#else
wait(for: [expectation], timeout: 2)
#endif
}

// MARK: - Per-Task Delegate
Expand Down

0 comments on commit 74dba20

Please sign in to comment.