Skip to content

Commit

Permalink
Require Swift 5.9.2 minimum, test on Swift 5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephDuffy committed May 24, 2024
1 parent 52eeb7e commit db163ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ concurrency:
jobs:
macos_tests:
name: macOS Tests (SwiftPM, Xcode ${{ matrix.xcode }})
runs-on: "macos-13"
runs-on: "macos-14"
strategy:
fail-fast: false
matrix:
xcode: ["15.0.1", "15.1"]
xcode: ["15.1", "15.3"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -55,11 +55,11 @@ jobs:

xcode_tests:
name: ${{ matrix.platform }} Tests (Xcode ${{ matrix.xcode }})
runs-on: macos-13
runs-on: macos-14
strategy:
fail-fast: false
matrix:
xcode: ["15.0.1", "15.1"]
xcode: ["15.1", "15.3"]
platform: ["macOS", "iOS", "tvOS", "watchOS", "macCatalyst"]

steps:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
swift: ["5.9.0", "5.9.2"]
swift: ["5.9.2", "5.10"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# HashableMacro

> [!WARNING]
> This package requires Swift 5.9.2, which ships with Xcode 15.1. It is possible to add this package in Xcode 15.0 and 15.0.1 but the `@Hashable` macro will not be available.
> This package requires Swift 5.9.2, which ships with Xcode 15.1. This package will fail to compile with Swift 5.9.0 (Xcode 15.0 and 15.0.1).
`@Hashable` is a Swift macro for adding `Hashable` conformance. It is particularly useful when synthesised conformance is not possible, such as with classes or a struct with 1 or more non-hashable properties.

Expand Down

0 comments on commit db163ba

Please sign in to comment.