Skip to content

Commit

Permalink
chore: Use swift 5.8 and caches to build docs (#60)
Browse files Browse the repository at this point in the history
Swift 5.8+ is needed to document extensions.
  • Loading branch information
rhwood authored Jul 2, 2023
1 parent 1745547 commit d7e4a25
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.8"
- uses: actions/cache@v3
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Package documentation 🛠
run: |
export DOCC_JSON_PRETTYPRINT="YES"
Expand Down

0 comments on commit d7e4a25

Please sign in to comment.