Skip to content

Use latest SwiftLint version 0.57.1 #340

Use latest SwiftLint version 0.57.1

Use latest SwiftLint version 0.57.1 #340

Workflow file for this run

name: Jazzy
on:
push:
branches: [main]
pull_request:
branches: ['*']
jobs:
Jazzy:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: swift build
- name: Generate documentation json
run: swift run sourcekitten doc --spm --module-name SourceKittenFramework > SourceKittenFramework.json
- name: Run jazzy
run: bundle exec jazzy --clean --sourcekitten-sourcefile SourceKittenFramework.json
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: API Docs
path: docs