Skip to content

Commit

Permalink
ci: more docs (#32)
Browse files Browse the repository at this point in the history
* chore: Set Developer Dir env

* chore: macos-14

* chore: sort out dependencies

* chore: include xctest dynamic overlay

* chore: dependencies

* chore: make

---------

Co-authored-by: danthorpe <[email protected]>
  • Loading branch information
danthorpe and danthorpe authored Apr 14, 2024
1 parent ce66fae commit b66fa4c
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 13 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true

env:
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer

jobs:
build:
runs-on: macos-13
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -48,7 +51,7 @@ jobs:
git checkout .;
git checkout "$tag";
make tag="$tag" output=docs-out basepath=swift-utilities docs-all
make docs-all tag="$tag" output=docs-out basepath=swift-utilities
fi;
done
Expand Down
19 changes: 14 additions & 5 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-dependencies",
"state" : {
"revision" : "4e1eb6e28afe723286d8cc60611237ffbddba7c5",
"version" : "1.0.0"
"revision" : "d3a5af3038a09add4d7682f66555d6212058a3c0",
"version" : "1.2.2"
}
},
{
Expand All @@ -81,13 +81,22 @@
"version" : "1.0.0"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax",
"state" : {
"revision" : "fa8f95c2d536d6620cc2f504ebe8a6167c9fc2dd",
"version" : "510.0.1"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
"location" : "http://github.com/pointfreeco/xctest-dynamic-overlay",
"state" : {
"revision" : "23cbf2294e350076ea4dbd7d5d047c1e76b03631",
"version" : "1.0.2"
"revision" : "6f30bdba373bbd7fbfe241dddd732651f2fbd1e2",
"version" : "1.1.2"
}
}
],
Expand Down
25 changes: 19 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ AssertionExtras
Extensions
]
$0.with = [
.customDump
.customDump,
.xcTestDynamicOverlay,
]
}
Cache
Expand All @@ -56,26 +57,37 @@ Cache
]
$0.with = [
.deque,
.dependencies,
.orderedCollections,
]
}
Protected
<+ 📦 {
$0.createProduct = .library
}
Extensions
<+ 📦 {
$0.createProduct = .library
$0.with = [
.dependencies
]
}
FileManagerClient
<+ 📦 {
$0.createProduct = .library
$0.createUnitTests = false
$0.with = [
.xcTestDynamicOverlay
]
}
Protected
<+ 📦 {
$0.createProduct = .library
}
Reachability
<+ 📦 {
$0.createProduct = .library
$0.createUnitTests = false
$0.with = [
.dependencies,
.xcTestDynamicOverlay,
]
}
ShortID
<+ 📦 {
Expand All @@ -99,7 +111,8 @@ package.dependencies = [
.package(url: "https://github.com/apple/swift-collections", from: "1.0.2"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0"),
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.2.0"),
.package(url: "http://github.com/pointfreeco/xctest-dynamic-overlay", from: "1.1.2"),
]

extension Target.Dependency {
Expand Down

0 comments on commit b66fa4c

Please sign in to comment.