Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Commit a0d74b4

Browse files
committed
ci: run jazzy container after checkout
1 parent 1fe0be8 commit a0d74b4

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/jazzy.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,15 @@ on:
2525
jobs:
2626
Jazzy:
2727
runs-on: ubuntu-latest
28-
container:
29-
image: norionomura/jazzy:0.13.3_swift-5.2.1
3028
steps:
31-
- uses: actions/checkout@v2
32-
- run: bundle install --path vendor/bundle
33-
- run: swift build
34-
- name: Generate documentation json
35-
run: sourcekitten doc --spm-module InterposeKit > interposekit.json
36-
- name: Run jazzy
37-
run: bundle exec jazzy --clean --sourcekitten-sourcefile interposekit.json
29+
- uses: actions/checkout@v4
30+
- name: Build documentation
31+
run: |
32+
docker run --rm \
33+
-v "$PWD:/workspace" \
34+
-w /workspace \
35+
norionomura/jazzy:0.13.3_swift-5.2.1 \
36+
bash -lc "bundle install --path vendor/bundle && swift build && sourcekitten doc --spm-module InterposeKit > interposekit.json && bundle exec jazzy --clean --sourcekitten-sourcefile interposekit.json"
3837
- name: Validate documentation coverage
3938
run: |
4039
if ruby -rjson -e "j = JSON.parse(File.read('docs/undocumented.json')); exit j['warnings'].length != 0"; then

0 commit comments

Comments
 (0)