Skip to content

Commit

Permalink
Update package version (#1489)
Browse files Browse the repository at this point in the history
* Require swift tools version 5.9

* Update changelog

* Use github workflow

---------

Co-authored-by: Yonas Kolb <[email protected]>
  • Loading branch information
0111b and yonaskolb authored Feb 17, 2025
1 parent 05c36c3 commit d1d04e8
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 44 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@ jobs:
name: Xcode ${{ matrix.xcode }}
strategy:
matrix:
xcode: ["14.3.1"]
xcode: ["15.3"]
include:
- xcode: "14.3.1"
macos: macos-13
- xcode: "15.3"
macos: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- uses: actions/checkout@master
- name: Resolve
run: swift package resolve
- name: Build
run: swift build
- name: Test
run: set -o pipefail && swift test 2>&1 | xcpretty
- name: Gen fixtures
run: scripts/gen-fixtures.sh
- name: Check fixtures
run: scripts/diff-fixtures.sh
- name: Build fixtures
run: scripts/build-fixtures.sh
- uses: actions/checkout@master
- name: Resolve
run: swift package resolve
- name: Build
run: swift build
- name: Test
run: set -o pipefail && swift test 2>&1 | xcpretty
- name: Gen fixtures
run: scripts/gen-fixtures.sh
- name: Check fixtures
run: scripts/diff-fixtures.sh
- name: Build fixtures
run: scripts/build-fixtures.sh
run-linux:
runs-on: ubuntu-latest
name: Linux
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Next Version

### Fixed

- Require swift-tools-version 5.9. #1489 @0111b

## 2.42.0

### Added
Expand Down
56 changes: 28 additions & 28 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.7
// swift-tools-version:5.9

import PackageDescription

Expand All @@ -24,69 +24,69 @@ let package = Package(
targets: [
.executableTarget(name: "XcodeGen", dependencies: [
"XcodeGenCLI",
"Version",
.product(name: "Version", package: "Version"),
]),
.target(name: "XcodeGenCLI", dependencies: [
"XcodeGenKit",
"ProjectSpec",
"SwiftCLI",
"Rainbow",
"PathKit",
"Version",
.product(name: "SwiftCLI", package: "SwiftCLI"),
.product(name: "Rainbow", package: "Rainbow"),
.product(name: "PathKit", package: "PathKit"),
.product(name: "Version", package: "Version"),
]),
.target(name: "XcodeGenKit", dependencies: [
"ProjectSpec",
"JSONUtilities",
"XcodeProj",
"PathKit",
.product(name: "JSONUtilities", package: "JSONUtilities"),
.product(name: "XcodeProj", package: "XcodeProj"),
.product(name: "PathKit", package: "PathKit"),
"XcodeGenCore",
], resources: [
.copy("SettingPresets")
]),
.target(name: "ProjectSpec", dependencies: [
"JSONUtilities",
"XcodeProj",
"Yams",
.product(name: "JSONUtilities", package: "JSONUtilities"),
.product(name: "XcodeProj", package: "XcodeProj"),
.product(name: "Yams", package: "yams"),
"XcodeGenCore",
"Version",
.product(name: "Version", package: "Version"),
]),
.target(name: "XcodeGenCore", dependencies: [
"PathKit",
"Yams",
.product(name: "PathKit", package: "PathKit"),
.product(name: "Yams", package: "yams"),
]),
.target(name: "TestSupport", dependencies: [
"XcodeProj",
"Spectre",
"PathKit",
.product(name: "XcodeProj", package: "XcodeProj"),
.product(name: "Spectre", package: "Spectre"),
.product(name: "PathKit", package: "PathKit"),
]),
.testTarget(name: "XcodeGenKitTests", dependencies: [
"XcodeGenKit",
"Spectre",
"PathKit",
.product(name: "Spectre", package: "Spectre"),
.product(name: "PathKit", package: "PathKit"),
"TestSupport",
]),
.testTarget(name: "FixtureTests", dependencies: [
"XcodeGenKit",
"Spectre",
"PathKit",
.product(name: "Spectre", package: "Spectre"),
.product(name: "PathKit", package: "PathKit"),
"TestSupport",
]),
.testTarget(name: "XcodeGenCoreTests", dependencies: [
"XcodeGenCore",
"Spectre",
"PathKit",
.product(name: "Spectre", package: "Spectre"),
.product(name: "PathKit", package: "PathKit"),
"TestSupport",
]),
.testTarget(name: "ProjectSpecTests", dependencies: [
"ProjectSpec",
"Spectre",
"PathKit",
.product(name: "Spectre", package: "Spectre"),
.product(name: "PathKit", package: "PathKit"),
"TestSupport",
]),
.testTarget(name: "PerformanceTests", dependencies: [
"XcodeGenKit",
"Spectre",
"PathKit",
.product(name: "Spectre", package: "Spectre"),
.product(name: "PathKit", package: "PathKit"),
"TestSupport",
]),
]
Expand Down

0 comments on commit d1d04e8

Please sign in to comment.